-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
📖 Document UpgradeAfter
#4285
📖 Document UpgradeAfter
#4285
Conversation
Welcome @mig4! |
Hi @mig4. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
792dc8d
to
3ed56db
Compare
/ok-to-test |
/retest |
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.
A small nit not blocking but overall lgtm from my side
@mig4 would you please squash your commits, other lgtm |
/milestone v0.4.0 |
@@ -47,6 +47,28 @@ that if a specific machine image is specified, it has to match the Kubernetes ve | |||
`KubeadmControlPlane` spec. In order to only trigger a single upgrade, the new `MachineTemplate` should be created first | |||
and then both the `Version` and `InfrastructureTemplate` should be modified in a single transaction. | |||
|
|||
#### How to schedule a machine rollout | |||
|
|||
A `KubeadmControlPlane` resource has a field `UpgradeAfter` that can be set to a timestamp |
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.
Sidenote: We should rename this field to RolloutAfter in v0.4.0, which is a
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.
@shysank Would you be interested in ^?
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.
how urgent is this? I'm kind of occupied with other things right now.
Add a section that documents `KubeadmControlPlane.Spec.UpgradeAfter` and how to achieve a similar effect for machines managed by a `MachineDeployment`.
03e3431
to
abdaee5
Compare
Squashed them, thanks. |
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
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
What this PR does / why we need it:
Add a section that documents
KubeadmControlPlane.Spec.UpgradeAfter
andhow to achieve a similar effect for machines managed by a
MachineDeployment
.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #3401