fix: remove securityContext from litellm
This commit is contained in:
parent
833327c45f
commit
9db1b6182b
|
|
@ -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: {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue