commit inicial

This commit is contained in:
Milki, Rodrigo Salvador
2026-04-01 01:53:43 -03:00
commit 750b888845
31 changed files with 738 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: litellm-env
namespace: litellm
data:
REDIS_HOST: redis-cluster-placeholder
REDIS_PORT: "6379"

View 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

View 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