kubernetesk8s.io/kubernetes/cmd/kubeadm/app/phases/uploadconfig Index | Files

package uploadconfig

import "k8s.io/kubernetes/cmd/kubeadm/app/phases/uploadconfig"

Index

Constants

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"
)

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)

Source Files

uploadconfig.go

Version
v1.20.10
Published
Aug 11, 2021
Platform
linux/amd64
Imports
11 packages
Last checked
32 minutes ago

Tools for package owners.