Helm charts that can be used to package your applications into production ready deployments for Kubernetes. https://www.gruntwork.io
193
stars
156
forks
source link
Avoid setting replicase while HPA is enabled #181
Closed
mateimicu closed 8 months ago
Description
Setting a replica number if HPA is used can cause outages (if
replicas is 0
) or degraded performance ifreplicas < minReplicas
One thing to note: The canary deployment is not targeted by the HPA:
-canary
at the end see codeSo we need to avoid the
replicas
only if the deployment is not a canary.Fixes #180.
TODOs
Read the Gruntwork contribution guidelines.
Release Notes (draft)
Added / Removed / Updated [X].
Ignore
replicaCount
when HPA is enabled to avoid drastic fluctuations during releases.Migration Guide
-