mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-30 04:31:49 +02:00
* add improved cloud configuration * fix typing * finalize slackbot improvements * minor update * finalized keda * moderate slackbot switch * update some configs * revert * include reset engine!
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
apiVersion: keda.sh/v1alpha1
|
|
kind: ScaledObject
|
|
metadata:
|
|
name: celery-worker-indexing-scaledobject
|
|
namespace: danswer
|
|
labels:
|
|
app: celery-worker-indexing
|
|
spec:
|
|
scaleTargetRef:
|
|
name: celery-worker-indexing
|
|
minReplicaCount: 1
|
|
maxReplicaCount: 30
|
|
triggers:
|
|
- type: redis
|
|
metadata:
|
|
sslEnabled: "true"
|
|
port: "6379"
|
|
enableTLS: "true"
|
|
listName: connector_indexing
|
|
listLength: "1"
|
|
databaseIndex: "15"
|
|
authenticationRef:
|
|
name: celery-worker-auth
|
|
|
|
- type: redis
|
|
metadata:
|
|
sslEnabled: "true"
|
|
port: "6379"
|
|
enableTLS: "true"
|
|
listName: connector_indexing:2
|
|
listLength: "1"
|
|
databaseIndex: "15"
|
|
authenticationRef:
|
|
name: celery-worker-auth
|
|
- type: redis
|
|
metadata:
|
|
sslEnabled: "true"
|
|
port: "6379"
|
|
enableTLS: "true"
|
|
listName: connector_indexing:3
|
|
listLength: "1"
|
|
databaseIndex: "15"
|
|
authenticationRef:
|
|
name: celery-worker-auth
|
|
- type: cpu
|
|
metadata:
|
|
type: Utilization
|
|
value: "70"
|
|
|
|
- type: memory
|
|
metadata:
|
|
type: Utilization
|
|
value: "70"
|