kubernetes: k8s.io/kubernetes/cmd/kubeadm/app/cmd/upgrade Index | Files

package upgrade

import "k8s.io/kubernetes/cmd/kubeadm/app/cmd/upgrade"


Package Files

apply.go common.go diff.go node.go plan.go upgrade.go

func EnforceVersionPolicies Uses

func EnforceVersionPolicies(newK8sVersionStr string, newK8sVersion *version.Version, flags *applyFlags, versionGetter upgrade.VersionGetter) error

EnforceVersionPolicies makes sure that the version the user specified is valid to upgrade to There are both fatal and skippable (with --force) errors

func InteractivelyConfirmUpgrade Uses

func InteractivelyConfirmUpgrade(question string) error

InteractivelyConfirmUpgrade asks the user whether they _really_ want to upgrade.

func NewCmdUpgrade Uses

func NewCmdUpgrade(out io.Writer) *cobra.Command

NewCmdUpgrade returns the cobra command for `kubeadm upgrade`

func PerformControlPlaneUpgrade Uses

func PerformControlPlaneUpgrade(flags *applyFlags, client clientset.Interface, waiter apiclient.Waiter, internalcfg *kubeadmapi.InitConfiguration) error

PerformControlPlaneUpgrade actually performs the upgrade procedure for the cluster of your type (self-hosted or static-pod-hosted)

Package upgrade imports 42 packages (graph) and is imported by 7 packages. Updated 2021-01-05. Refresh now. Tools for package owners.