litellm/helm/litellm/tests
Yassin Kortam 45fb9a70b9
feat(helm): add per-component PodDisruptionBudget and topologySpreadConstraints to componentized chart (#33430)
* feat(helm): add per-component PodDisruptionBudget and topologySpreadConstraints to componentized chart

The componentized chart (helm/litellm) had no PodDisruptionBudget template
for the gateway, backend, or ui, so voluntary disruptions (node drains,
Karpenter consolidation) could evict every replica of a component at once.
The legacy chart shipped one out of the box. Deployments also had no way to
configure topologySpreadConstraints, blocking HA spread across AZs.

Adds a shared litellm.pdb helper rendered per component, gated on
<component>.pdb.enabled with minAvailable/maxUnavailable (minAvailable wins,
fallback maxUnavailable: 1), selectors matching each component's
selectorLabels. Adds <component>.topologySpreadConstraints rendered into
each Deployment pod spec. PDBs default to disabled since the default
hpa.minReplicas of 1 with minAvailable: 1 would block drains entirely.

Resolves LIT-4452

* fix(helm): honor explicit 0 in pdb minAvailable/maxUnavailable

A Go-template truthy check treated an explicit 0 (forbid all voluntary
disruptions via maxUnavailable: 0) as unset and silently replaced it with
the fallback maxUnavailable: 1, weakening the configured protection. Treat
a value as set when it is non-nil and non-empty-string instead.
2026-07-16 10:41:59 -07:00
..
values feat(helm): support user-defined volumes and volumeMounts in microservices chart (#32233) 2026-07-06 09:53:47 -07:00
billing_metrics_tests.yaml feat(proxy): push-based OTLP billable-request metering for enterprise deployments (#31592) 2026-07-15 12:12:52 -07:00
deployment_volumes_tests.yaml feat(helm): support user-defined volumes and volumeMounts in microservices chart (#32233) 2026-07-06 09:53:47 -07:00
pdb_topology_spread_tests.yaml feat(helm): add per-component PodDisruptionBudget and topologySpreadConstraints to componentized chart (#33430) 2026-07-16 10:41:59 -07:00
redis_env_tests.yaml feat(deploy): make coordination redis a first-class chart and terraform surface (#32662) 2026-07-10 16:16:09 -07:00