upgrade

package
v1.28.8 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 47 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 NewCmdUpgrade

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

NewCmdUpgrade returns the cobra command for `kubeadm upgrade`

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

type LoadConfigFunc added in v1.27.0

type LoadConfigFunc func(cfgPath string, client clientset.Interface, skipComponentConfigs bool, printer output.Printer) (*kubeadmapi.InitConfiguration, bool, error)

Jump to

Keyboard shortcuts

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