commit inicial
This commit is contained in:
8
k8s/overlays/prd/configmaps.yaml
Normal file
8
k8s/overlays/prd/configmaps.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: litellm-env
|
||||
namespace: litellm
|
||||
data:
|
||||
REDIS_HOST: redis-cluster-placeholder
|
||||
REDIS_PORT: "6379"
|
||||
26
k8s/overlays/prd/kustomization.yaml
Normal file
26
k8s/overlays/prd/kustomization.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
- configmaps.yaml
|
||||
- ../../service-config/Secrets/litellm-secrets-prd.yaml
|
||||
configMapGenerator:
|
||||
- name: litellm-config
|
||||
files:
|
||||
- config.yaml=../../service-config/config.prd/config.yaml
|
||||
patches:
|
||||
- target:
|
||||
kind: Ingress
|
||||
name: litellm
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/rules/0/host
|
||||
value: litellm.prd.local
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: litellm
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/replicas
|
||||
value: 3
|
||||
- path: litellm-patch.yaml
|
||||
15
k8s/overlays/prd/litellm-patch.yaml
Normal file
15
k8s/overlays/prd/litellm-patch.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: litellm
|
||||
namespace: litellm
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: litellm
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: litellm-env
|
||||
- secretRef:
|
||||
name: litellm-secrets-prd
|
||||
Reference in New Issue
Block a user