-
Notifications
You must be signed in to change notification settings - Fork 949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(operator yaml): update deployment upgrade strategy as Recreate #2709
Conversation
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are good
… as recreate Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -12,6 +12,9 @@ metadata: | |||
openebs.io/version: {{ .Values.release.version }} | |||
spec: | |||
replicas: {{ .Values.provisioner.replicas }} | |||
strategy: | |||
type: {{ .Values.provisioner.upgradeStrategy }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be changed to local PV provisioner. Also update the above replicas to use the localpvprovisioner (this has been fixed in upstream)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will update it
@@ -12,6 +12,9 @@ metadata: | |||
openebs.io/version: {{ .Values.release.version }} | |||
spec: | |||
replicas: {{ .Values.webhook.replicas }} | |||
strategy: | |||
type: {{ .Values.webhook.upgradeStrategy }} | |||
rollingUpdate: null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should rollingUpdate be set to null .. if the upgradeStrategy is set to Recreate
. Having said that, should we even give this option to select the upgradeStrategy or hardcode it to "Recreate" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will hardcode it to Recreate
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
…llingUpdate Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu sai.chaithanya@mayadata.io
This PR updates the control plane deployment upgrade strategy to
Recreate
.When we set the upgrade strategy to
Recreate
deployment controller willmake sure during upgrade time(patching pod template spec) after deleting old pod
new pod with the changes will come to running state.
Which issue this PR fixes:
This PR fixes issue #2697