Skip to content

hex.k8s.svc.litellm ​

  • Source: module
  • Total args: 31
  • default version arg: "v1.81.0"

Copy Spec Skeleton ​

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

Required Args ​

ArgNotes

Optional Args ​

ArgDefaultNotes
name"litellm"-
version"v1.81.0"-
namespace"default"-
image_registry"ghcr.io/berriai"-
image_base"litellm-database"-
image_tag"litellm_stable_release_branch-${version}-stable"-
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-
livenessProbe{ httpGet = { inherit port; path = "/health/liveliness"; }; inherit failureThreshold periodSeconds successThreshold timeoutSeconds; }-
readinessProbe{ httpGet = { inherit port; path = "/health/readiness"; }; inherit 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