Answers: <p>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!</p>
  
Answers: CC BY-SA 4.0
Answers: 2022-11-09T07:50:56.033Z
Answers: 2022-11-09T07:50:56.033Z
Answers: sa.as
Body: <p>I ask because:</p>
  <ul>
  <li>I want to know what is the default <code>helm upgrade</code> behavior</li>
  <li>I might need to change the default <code>helm upgrade</code> behavior</li>
  </ul>
  <h3>Does <code>helm upgrade</code> use rolling restarts for <code>deployments</code>? If not then what is the default?</h3>
  <p>If <code>helm upgrade</code> is not the thing that controls the behavior for <code>deployments</code>, please say what does. (I suspect the <code>deployment</code> controls the behavior of what happens during a <code>helm upgrade</code> but I am not sure so I am asking.)</p>
  
Comments: CC BY-SA 4.0
Comments: 2022-09-21T15:59:17.533Z
Comments: 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'
Comments: Trevor Boyd Smith
Comments: CC BY-SA 4.0
Comments: 2022-09-21T16:03:15.237Z
Comments: the closest thing i found to `rolling restart` was `kubectl rollout restart deployment`. so likely that is what the `rolling restart`.
Comments: Trevor Boyd Smith
Tags: <kubernetes><deployment><helm>
Title: Does `helm upgrade` use rolling restarts for `deployments`, yes/no? if not then what is the default?
UserDisplayName: Trevor Boyd Smith
ThreadText: # Does `helm upgrade` use rolling restarts for `deployments`, yes/no? if not then what is the default?
  
  (Asked by: username_0 on 2022-09-21)
  
  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.)
  
  **Tags:** kubernetes, deployment, helm
  
  > **Comments:**
  > **username_0**: 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'  
  > **username_0**: the closest thing i found to `rolling restart` was `kubectl rollout restart deployment`. so likely that is what the `rolling restart`.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-11-09. Score: 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!
  
  
  ---
  
  