Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true #476

Closed
opened 2026-04-05 16:19:59 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @zzukin on 5/21/2025

In the Helm chart, when autoscaling.enabled = true is set in values.yaml, a HorizontalPodAutoscaler takes care of managing the number of replicas. For this reason, the replicas field should be omitted in the Deployment to avoid it being reset to 1 on every helm upgrade

*Originally created by @zzukin on 5/21/2025* In the Helm chart, when autoscaling.enabled = true is set in values.yaml, a HorizontalPodAutoscaler takes care of managing the number of replicas. For this reason, the replicas field should be omitted in the Deployment to avoid it being reset to 1 on every helm upgrade
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#476