apiVersion: apps/v1 kind: Deployment metadata: name: litellm namespace: nxtgauge-ai labels: app: litellm spec: replicas: 1 selector: matchLabels: app: litellm template: metadata: labels: app: litellm spec: containers: - name: litellm image: registry.nxtgauge.com/litellm:latest command: - "/bin/bash" args: - "-c" - "cat /app/config.yaml && exec litellm --config /app/config.yaml --port 4000 --host 0.0.0.0" ports: - containerPort: 4000 name: http env: - name: LITELLM_MASTER_KEY valueFrom: secretKeyRef: name: litellm-secrets key: LITELLM_MASTER_KEY - name: LITELLM_LOG_LEVEL value: "DEBUG" volumeMounts: - name: config mountPath: /app/config.yaml subPath: config.yaml readOnly: true resources: requests: cpu: 100m memory: 256Mi livenessProbe: tcpSocket: port: 4000 initialDelaySeconds: 60 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: tcpSocket: port: 4000 initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: 3 failureThreshold: 3 volumes: - name: config configMap: name: litellm-config