Skip to content

hex.k8s.svc.litellm ​

  • Source: module
  • Total args: 33
  • default version arg: "v1.82.3"

Copy Spec Skeleton ​

nix
(hex.k8s.svc.litellm {
  version = "v1.82.3";
})

Required Args ​

ArgNotes

Optional Args ​

ArgDefaultNotes
name"litellm"-
version"v1.82.3"-
namespace"default"-
image_registry"ghcr.io/berriai"-
image_base"litellm-database"-
image_suffix""-
image_tag"main-${version}-stable${image_suffix}"-
image"${image_registry}/${image_base}:${image_tag}"-
replicas1-
cpuRequest"0.5"-
cpuLimit"2"-
memoryRequest"1Gi"-
memoryLimit"4Gi"-
autoscalefalse-
extraEnv[ ]-
extraEnvAttrs{ }-
extraVolumes[ ]-
port4000-
secretName"litellm-secret"-
failureThreshold3-
periodSeconds10-
successThreshold1-
timeoutSeconds4-
initialDelaySeconds10-
livenessProbe{ httpGet = { inherit port; path = "/health/liveliness"; }; inherit initialDelaySeconds failureThreshold periodSeconds successThreshold timeoutSeconds; }-
readinessProbe{ httpGet = { inherit port; path = "/health/readiness"; }; inherit initialDelaySeconds failureThreshold periodSeconds successThreshold timeoutSeconds; }-
maxUnavailable0-
maxSurge"50%"-
litellm_config{ model_list = [ { litellm_params = { model = "groq/openai/gpt-oss-120b"; drop_params = true; }; model_name = "gpt-oss-120b"; } ]; }-
litellm-conf"${name}-litellm-conf"-
labels{ inherit name; tier = "api"; }-
extraService{ }escape hatch to inject other service spec
extraDeploymentAnnotations{ }-

Back to svc Index