-
Hi, I have a question about the MM2 rolling update. The MM2 rolling update will always create a new pod first instead of killing an old existing pod because the deployment has .spec.strategy.rollingUpdate.maxUnavailable=0. I checked there is a template.podDisruptionBudget.maxUnavailable setting on mm2. But this setting cannot apply to rollingUpdate. For a rolling update, the Deployment's maxUnavailable will be in effect, even if the PodDisruptionBudget specifies a value. Reference https://stackoverflow.com/questions/58064904/kubernetes-specifying-maxunavailable-in-both-deployment-and-pdb Do we have a way in which we can specify strategy.rollingUpdate.maxUnavailable on deployment object? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
You can change the deployment strategy in the custom resource: https://strimzi.io/docs/operators/latest/full/configuring.html#type-DeploymentTemplate-reference |
Beta Was this translation helpful? Give feedback.
You can change the deployment strategy in the custom resource: https://strimzi.io/docs/operators/latest/full/configuring.html#type-DeploymentTemplate-reference