kubeone

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// This controller is responsible for managing the lifecycle of KubeOne clusters within KKP.
	ControllerName = "kkp-kubeone-controller"

	// ImportAction is the action to import kubeone cluster.
	ImportAction = "import"

	// UpgradeControlPlaneAction is the action to upgrade kubeone cluster.
	UpgradeControlPlaneAction = "upgrade"

	// MigrateContainerRuntimeAction is the action to migrate kubeone container-runtime.
	MigrateContainerRuntimeAction = "migrate"

	// KubeOneImportPod is the name of kubeone pod performing import.
	KubeOneImportPod = "kubeone-import"

	// KubeOneUpgradePod is the name of kubeone pod performing upgrade.
	KubeOneUpgradePod = "kubeone-upgrade"

	// KubeOneMigratePod is the name of kubeone pod performing container-runtime migration.
	KubeOneMigratePod = "kubeone-migrate"

	// KubeOneImportConfigMap is the name of kubeone configmap which stores import action script.
	KubeOneImportConfigMap = "kubeone-import"

	// KubeOneUpgradeConfigMap is the name of kubeone configmap which stores upgrade action script.
	KubeOneUpgradeConfigMap = "kubeone-upgrade"

	// KubeOneMigrateConfigMap is the name of kubeone configmap which stores migrate action script.
	KubeOneMigrateConfigMap = "kubeone-migrate"

	// KubeOneLogLevelError is kubeone log level for errors.
	KubeOneLogLevelError = "error"
)

Variables

This section is empty.

Functions

func Add

func Add(
	ctx context.Context,
	mgr manager.Manager,
	log *zap.SugaredLogger) error

func ByNameAndNamespace

func ByNameAndNamespace() predicate.Funcs

func GenerateClient

func GenerateClient(cfg *clientcmdapi.Config) (ctrlruntimeclient.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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