upgrade

package
v1.17.14-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 39 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnforceVersionPolicies

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

func InteractivelyConfirmUpgrade(question string) error

InteractivelyConfirmUpgrade asks the user whether they _really_ want to upgrade.

func NewCmdApply

func NewCmdApply(apf *applyPlanFlags) *cobra.Command

NewCmdApply returns the cobra command for `kubeadm upgrade apply`

func NewCmdDiff added in v1.11.0

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

NewCmdDiff returns the cobra command for `kubeadm upgrade diff`

func NewCmdNode added in v1.11.0

func NewCmdNode() *cobra.Command

NewCmdNode returns the cobra command for `kubeadm upgrade node`

func NewCmdPlan

func NewCmdPlan(apf *applyPlanFlags) *cobra.Command

NewCmdPlan returns the cobra command for `kubeadm upgrade plan`

func NewCmdUpgrade

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

NewCmdUpgrade returns the cobra command for `kubeadm upgrade`

func NewCmdUpgradeNodeConfig added in v1.11.0

func NewCmdUpgradeNodeConfig() *cobra.Command

NewCmdUpgradeNodeConfig returns the cobra.Command for downloading the new/upgrading the kubelet configuration from the kubelet-config-1.X ConfigMap in the cluster TODO: to remove when 1.18 is released

func PerformControlPlaneUpgrade

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL