package apply

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

Package apply implements phases of 'kubeadm upgrade apply'.

Package apply implements phases of 'kubeadm upgrade apply'.

Package apply implements phases of 'kubeadm upgrade apply'.

Package apply implements phases of 'kubeadm upgrade apply'.

Package apply implements phases of 'kubeadm upgrade apply'.

Package apply implements phases of 'kubeadm upgrade apply'.

Index

Functions

func NewBootstrapTokenPhase

func NewBootstrapTokenPhase() workflow.Phase

NewBootstrapTokenPhase returns a new bootstrap-token phase.

func NewControlPlanePhase

func NewControlPlanePhase() workflow.Phase

NewControlPlanePhase returns a new control-plane phase.

func NewKubeconfigPhase

func NewKubeconfigPhase() workflow.Phase

NewKubeconfigPhase returns a new kubeconfig phase.

func NewPreflightPhase

func NewPreflightPhase() workflow.Phase

NewPreflightPhase returns a new prefight phase.

func NewUploadConfigPhase

func NewUploadConfigPhase() workflow.Phase

NewUploadConfigPhase returns a new upload-config phase.

Types

type Data

type Data interface {
	upgrade.Data

	SessionIsInteractive() bool
	AllowExperimentalUpgrades() bool
	AllowRCUpgrades() bool
	ForceUpgrade() bool
}

Data is the interface to use for kubeadm upgrade apply phases. The "applyData" type from "cmd/upgrade/apply.go" must satisfy this interface.

Source Files

bootstraptoken.go controlplane.go data.go kubeconfig.go preflight.go uploadconfig.go

Version
v1.33.2
Published
Jun 17, 2025
Platform
linux/amd64
Imports
25 packages
Last checked
2 hours ago

Tools for package owners.