package
1.14.0-alpha.1
Repository: https://github.com/micnncim/kubernetes.git
Documentation: pkg.go.dev
# Functions
DryRunStaticPodUpgrade fakes an upgrade of the control plane.
EnforceVersionPolicies makes sure that the version the user specified is valid to upgrade to There are both fatal and skippable (with --force) errors.
GetPathManagerForUpgrade returns a path manager properly configured for the given InitConfiguration.
InteractivelyConfirmUpgrade asks the user whether they _really_ want to upgrade.
NewCmdApply returns the cobra command for `kubeadm upgrade apply`.
NewCmdDiff returns the cobra command for `kubeadm upgrade diff`.
NewCmdNode returns the cobra command for `kubeadm upgrade node`.
NewCmdPlan returns the cobra command for `kubeadm upgrade plan`.
NewCmdUpgrade returns the cobra command for `kubeadm upgrade`.
NewCmdUpgradeControlPlane returns the cobra.Command for upgrading the controlplane instance on this node.
NewCmdUpgradeNodeConfig returns the cobra.Command for downloading the new/upgrading the kubelet configuration from the kubelet-config-1.X ConfigMap in the cluster.
PerformControlPlaneUpgrade actually performs the upgrade procedure for the cluster of your type (self-hosted or static-pod-hosted).
PerformStaticPodUpgrade performs the upgrade of the control plane components for a static pod hosted cluster.
RunUpgradeControlPlane is executed when `kubeadm upgrade node controlplane` runs.
RunUpgradeNodeConfig is executed when `kubeadm upgrade node config` runs.
SetImplicitFlags handles dynamically defaulting flags based on each other's value.