Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[kubeadm] Print required flags when running kubeadm upgrade plan #65802
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
@neolit123 I think we can handle RC by using
--allow-experimental-upgrades Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes. --allow-release-candidate-upgrades Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.
if the user types:
to my understanding it would print:
so it's a question if we want to print the exact
Maybe this is better instead of using the user's initial flag?
When the version is RC:
You can now apply the upgrade by executing the following command: kubeadm upgrade apply <some-RC-version> --allow-release-candidate-upgrades
when the version is some other unstable version:
You can now apply the upgrade by executing the following command: kubeadm upgrade apply <some-other-unstable-version> --allow-experimental-upgrades
[APPROVALNOTIFIER] This PR is APPROVED
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