Documentation

Index

Constants

View Source
const (
	// NodesKubeadmConfigClusterRoleName sets the name for the ClusterRole that allows
	// the bootstrap tokens to access the kubeadm-config ConfigMap during the node bootstrap/discovery
	// or during upgrade nodes
	NodesKubeadmConfigClusterRoleName = "kubeadm:nodes-kubeadm-config"
)

Variables

This section is empty.

Functions

func ResetClusterStatusForNode

func ResetClusterStatusForNode(nodeName string, client clientset.Interface) error

ResetClusterStatusForNode removes the APIEndpoint of a given control-plane node from the ClusterStatus and updates the kubeadm ConfigMap

func UploadConfiguration

func UploadConfiguration(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error

UploadConfiguration saves the InitConfiguration used for later reference (when upgrading for instance)

Types

This section is empty.

Source Files