1

I ask because:

  • I want to know what is the default helm upgrade behavior
  • I might need to change the default helm upgrade behavior

Does helm upgrade use rolling restarts for deployments? If not then what is the default?

If helm upgrade is not the thing that controls the behavior for deployments, please say what does. (I suspect the deployment controls the behavior of what happens during a helm upgrade but I am not sure so I am asking.)

2
  • i don't know enough about helm upgrade to say for sure. but in the kubernetes deployments docs it does say there are two choices for a deployment's .spec.strategy.type: Recreate and RollingUpdate. the default if you do not specify the strategy is RollingUpdate. p.s. there is no 'rolling restarts' Commented Sep 21, 2022 at 15:59
  • the closest thing i found to rolling restart was kubectl rollout restart deployment. so likely that is what the rolling restart. Commented Sep 21, 2022 at 16:03

1 Answer 1

1

Helm upgrade is making revisions to the deployment which means, you can roll back to the last deployment. regarding the restart of current pods, it will happen based on your definition of Deployment.spec.strategy.rollingUpdate will recreate the pods!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.