-
Notifications
You must be signed in to change notification settings - Fork 31
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
Deprecated DefaultRestartPolicy with NoneRestartPolicy #214
Deprecated DefaultRestartPolicy with NoneRestartPolicy #214
Conversation
Signed-off-by: kerthcet <kerthcet@gmail.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kerthcet The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@ahg-g maybe you're online. |
// DefaultRestartPolicy will recreate all the pods in the group if | ||
// 1. Any individual pod in the group is recreated; 2. Any containers/init-containers | ||
// in a pod is restarted. This is to ensure all pods/containers in the group will be | ||
// started in the same time. | ||
RecreateGroupOnPodRestart RestartPolicyType = "RecreateGroupOnPodRestart" | ||
DefaultRestartPolicy RestartPolicyType = "RecreateGroupOnPodRestart" |
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.
Lets keep the parameter name as is and just add a comment that this is the default value.
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.
done.
Signed-off-by: kerthcet <kerthcet@gmail.com>
1b9e7b7
to
b3a8977
Compare
/lgtm |
What type of PR is this?
/kind feature
/kind cleanup
What this PR does / why we need it
Which issue(s) this PR fixes
Fixes #204
Special notes for your reviewer
Does this PR introduce a user-facing change?