36 lines
739 B
YAML
36 lines
739 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: litellm
|
|
namespace: litellm
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: litellm
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: litellm
|
|
spec:
|
|
containers:
|
|
- name: litellm
|
|
image: ghcr.io/berriai/litellm:main-latest
|
|
args:
|
|
- "--detailed_debug"
|
|
- "--config"
|
|
- "/app/config/config.yaml"
|
|
ports:
|
|
- containerPort: 4000
|
|
envFrom:
|
|
- configMapRef:
|
|
name: litellm-env
|
|
volumeMounts:
|
|
- name: config-volume
|
|
mountPath: /app/config
|
|
readOnly: true
|
|
volumes:
|
|
- name: config-volume
|
|
configMap:
|
|
name: litellm-config
|