phases

package
v1.14.8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckEtcdPhase

func NewCheckEtcdPhase() workflow.Phase

NewCheckEtcdPhase is a hidden phase that runs after the control-plane-prepare and before the bootstrap-kubelet phase that ensures etcd is healthy

func NewControlPlaneJoinPhase

func NewControlPlaneJoinPhase() workflow.Phase

NewControlPlaneJoinPhase creates a kubeadm workflow phase that implements joining a machine as a control plane instance

func NewControlPlanePreparePhase

func NewControlPlanePreparePhase() workflow.Phase

NewControlPlanePreparePhase creates a kubeadm workflow phase that implements the preparation of the node to serve a control plane

func NewKubeletStartPhase

func NewKubeletStartPhase() workflow.Phase

NewKubeletStartPhase creates a kubeadm workflow phase that start kubelet on a node.

func NewPreflightPhase

func NewPreflightPhase() workflow.Phase

NewPreflightPhase creates a kubeadm workflow phase that implements preflight checks for a new node join

Types

type JoinData

type JoinData interface {
	CertificateKey() string
	Cfg() *kubeadmapi.JoinConfiguration
	TLSBootstrapCfg() (*clientcmdapi.Config, error)
	InitCfg() (*kubeadmapi.InitConfiguration, error)
	ClientSet() (*clientset.Clientset, error)
	IgnorePreflightErrors() sets.String
	OutputWriter() io.Writer
}

JoinData is the interface to use for join phases. The "joinData" type from "cmd/join.go" must satisfy this interface.

Jump to

Keyboard shortcuts

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