From 9db1b6182b31771d0a6455069366bb55e6d2c75a Mon Sep 17 00:00:00 2001 From: Antigravity Date: Tue, 19 May 2026 23:09:03 -0400 Subject: [PATCH] fix: remove securityContext from litellm --- ai-core/litellm/deployment.yaml | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/ai-core/litellm/deployment.yaml b/ai-core/litellm/deployment.yaml index e31b902..b139e60 100644 --- a/ai-core/litellm/deployment.yaml +++ b/ai-core/litellm/deployment.yaml @@ -23,10 +23,6 @@ spec: prometheus.io/port: "4000" prometheus.io/path: "/metrics" spec: - securityContext: - runAsNonRoot: true - runAsUser: 1000 - fsGroup: 1000 containers: - name: litellm image: ghcr.io/berriai/litellm:main-v1.55.10 @@ -54,19 +50,18 @@ spec: key: DATABASE_URL - name: STORE_MODEL_IN_DB value: "True" - livenessProbe: httpGet: - path: /health - port: 4000 + path: /health + port: 4000 initialDelaySeconds: 30 periodSeconds: 20 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: httpGet: - path: /health - port: 4000 + path: /health + port: 4000 initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 3 @@ -75,8 +70,6 @@ spec: - name: config mountPath: /etc/litellm readOnly: true - - name: cache - mountPath: /.cache resources: requests: cpu: 250m @@ -84,14 +77,7 @@ spec: limits: cpu: "2" memory: 2Gi - securityContext: - allowPrivilegeEscalation: false - readOnlyRootFilesystem: false - capabilities: - drop: ["ALL"] volumes: - name: config configMap: name: litellm-config - - name: cache - emptyDir: {}