Skip to content
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

kinder: call "upgrade plan" before "upgrade apply" #2973

Merged

Conversation

neolit123
Copy link
Member

@neolit123 neolit123 commented Nov 25, 2023

During the kinder "kubeadm-upgrade" action, "upgrade apply"
is executed, but "upgrade plan" is not. To ensure better coverage
ensure "upgrade plan" is called as well. We have this command
as part of the kubeadm upgrade docs, so it makes sense to have
it here.

Ensure that "plan" is also called during the
"upgrade-latest-no-addon-config-maps" workflow.

NOTE: untested locally, but the presubmit job here should catch problems. i think this is all that has to be done.

fixes #2971

@neolit123 neolit123 added this to the v1.30 milestone Nov 25, 2023
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Nov 25, 2023
@k8s-ci-robot k8s-ci-robot added the area/kinder Issues to track work in the kinder tool label Nov 25, 2023
@k8s-ci-robot k8s-ci-robot requested a review from SataQiu November 25, 2023 12:18
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 25, 2023
@neolit123 neolit123 added priority/backlog Higher priority than priority/awaiting-more-evidence. kind/feature Categorizes issue or PR as related to a new feature. labels Nov 25, 2023
@neolit123 neolit123 force-pushed the 1.29-add-upgrade-plan-to-kinder branch from cefa0de to 48f9038 Compare November 25, 2023 12:31
@neolit123
Copy link
Member Author

neolit123 commented Nov 25, 2023

/hold
the workflow upgrade-latest-no-addon-config-maps can have the explicit "upgrade plan" call too.

EDIT: done

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 25, 2023
@neolit123 neolit123 force-pushed the 1.29-add-upgrade-plan-to-kinder branch from 48f9038 to fbd1644 Compare November 25, 2023 13:01
@neolit123
Copy link
Member Author

looking for LGTM on this one so we can merge when 1.30 starts.
either way, it's a low priority change.

Copy link
Member

@SataQiu SataQiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 4, 2023
Copy link
Member

@chendave chendave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

During the kinder "kubeadm-upgrade" action, "upgrade apply"
is executed, but "upgrade plan" is not. To ensure better coverage
ensure "upgrade plan" is called as well. We have this command
as part of the kubeadm upgrade docs, so it makes sense to have
it here.

Ensure that "plan" is also called during the
"upgrade-latest-no-addon-config-maps" workflow.
@neolit123 neolit123 force-pushed the 1.29-add-upgrade-plan-to-kinder branch from fbd1644 to a560645 Compare December 11, 2023 15:11
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 11, 2023
@neolit123 neolit123 requested a review from chendave December 11, 2023 15:11
@neolit123
Copy link
Member Author

1.30 is out i'm going to unhold my kinder PRs one at a time to make sure we don't break many things at once.

@neolit123
Copy link
Member Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 13, 2023
@neolit123 neolit123 requested a review from SataQiu December 14, 2023 09:54
@neolit123
Copy link
Member Author

@SataQiu @chendave
ping, PTAL

Copy link
Member

@SataQiu SataQiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 18, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chendave, neolit123, SataQiu

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 7c86dae into kubernetes:main Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/kinder Issues to track work in the kinder tool cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/backlog Higher priority than priority/awaiting-more-evidence. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kinder: include "upgrade plan" as part of upgrade workflows
4 participants