hive-apps/projects/ai/values/bibot.yml

85 lines
2 KiB
YAML
Raw Normal View History

2024-03-12 20:30:06 +00:00
controllers:
2024-06-29 14:09:40 +00:00
# main agent
2024-03-12 20:30:06 +00:00
main:
containers:
main:
image:
2024-06-29 14:09:40 +00:00
repository: reg.dc/bi
2024-03-12 20:30:06 +00:00
tag: latest
pullPolicy: Always
2024-03-13 11:04:45 +00:00
env:
2024-03-17 11:48:50 +00:00
BIBOT_CONFIG: /config/bibot.yml
2024-06-29 14:09:40 +00:00
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
2024-06-16 10:19:26 +00:00
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
PHOENIX_PROJECT_NAME: bi
2024-06-29 14:09:40 +00:00
command: ["python3"]
args: ["/app/bi/agents/main/app.py", "worker", "-l", "info"]
controller:
2024-06-17 10:27:36 +00:00
containers:
main:
image:
2024-06-29 14:09:40 +00:00
repository: reg.dc/bi
tag: latest
pullPolicy: Always
env:
BIBOT_CONFIG: /config/bibot.yml
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
command: ["python3"]
args: ["/app/bi/controller.py", "worker", "-l", "info"]
discord:
containers:
main:
image:
repository: reg.dc/bi
2024-06-17 10:27:36 +00:00
tag: latest
pullPolicy: Always
command: ["python3"]
2024-06-29 14:09:40 +00:00
args: ["/app/bi/connectors/discord/app.py", "worker", "-l", "info"]
2024-06-17 10:27:36 +00:00
env:
2024-06-29 14:09:40 +00:00
BIBOT_KAFKA__BROKER: bi-cluster-kafka-bootstrap:9092
2024-06-21 12:46:20 +00:00
OPENAI_API_KEY: fake
2024-06-29 14:09:40 +00:00
BIBOT_DISCORD__TOKEN:
2024-06-13 19:59:37 +00:00
valueFrom:
secretKeyRef:
name: bibot
2024-06-17 10:27:36 +00:00
key: discord-token
## Prod:
2024-06-29 14:09:40 +00:00
BIBOT_DISCORD__CHANNELS: "1216440541064200192"
2024-06-17 10:27:36 +00:00
# Dev:
# BIBOT_DISCORD_CHANNELS: "1217418069693960223"
2024-03-12 20:30:06 +00:00
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
2024-03-13 11:04:45 +00:00
2024-03-17 11:48:50 +00:00
persistence:
secret:
2024-03-13 11:04:45 +00:00
name: bibot
enabled: true
type: secret
2024-03-17 11:48:50 +00:00
config:
name: bibot-config
enabled: true
type: configMap
2024-06-17 10:27:36 +00:00
data:
size: 10Gi
type: persistentVolumeClaim
accessMode: ReadWriteOnce
2024-06-29 14:09:40 +00:00
# service:
# main:
# controller: main
# ports:
# http:
# port: 8000
# type: ClusterIP