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!
20 lines
469 B
YAML
20 lines
469 B
YAML
apiVersion: keda.sh/v1alpha1
|
|
kind: ScaledObject
|
|
metadata:
|
|
name: indexing-model-server-scaledobject
|
|
namespace: danswer
|
|
labels:
|
|
app: indexing-model-server
|
|
spec:
|
|
scaleTargetRef:
|
|
name: indexing-model-server-deployment
|
|
pollingInterval: 15 # Check every 15 seconds
|
|
cooldownPeriod: 30 # Wait 30 seconds before scaling down
|
|
minReplicaCount: 1
|
|
maxReplicaCount: 14
|
|
triggers:
|
|
- type: cpu
|
|
metadata:
|
|
type: Utilization
|
|
value: "70"
|