Replica number changes on new deployments #26
-
|
This message was extracted from a discussion that originally took place in Gruntwork Community Slack. Names and URLs have been removed where appropriate From a customer Hi, When using HPA like : No matter what the current Please advice |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
From a grunt Hey person, I've asked for some guidance on this, and here's some details: The deployment is getting reset by the helm chart, specifically the It might best to use a |
Beta Was this translation helpful? Give feedback.
From a grunt
Hey person,
I've asked for some guidance on this, and here's some details:
The deployment is getting reset by the helm chart, specifically the
replicaCountinput.HPAworks by overwriting the replica count of the deployment, but there's noignore_changesterraform type behaviour in helm. Therefore, the helm chart just overwrites the deployment every time based on what is in the helm chart.It might best to use a
run_cmdcall interragruntthat useskubectlto get the current value of the replica count on the Deployment and update the input value to use that.