Add --etc-upgrade flag to kubeadm upgrade plan #3155
Labels
area/upgrades
kind/feature
Categorizes issue or PR as related to a new feature.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
Milestone
What would you like to be added?
Add the flag
--etc-upgrade
that is present onkubeadm upgrade apply
also to the subcommandkubeadm upgrade plan
. If you specify this, then the etcd upgrade versions won't be calculcated, and it states no upgrade version for etcd (similar to like howplan
won't show a version when it detects that external etcd is in use).Why is this needed?
To align the flags between the subcommands
plan
, andapply
. There are already a bunch of flags to control the target version (--allow-*-upgrades
), and they exist on both subcommands. On theapply
you also have the flag to disable upgrading etcd, but you don't have that onplan
, so this won't allow you to see whatplan
exactly would upgrade. Adding this flag will allow the user to exactly see what would happen when running theapply
subcommand subsequent to theplan
invocation./sig cluster-lifecycle
/cc @neolit123
Slack discussion: https://kubernetes.slack.com/archives/C2P1JHS2E/p1738258436793859
The text was updated successfully, but these errors were encountered: