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

package uploadconfig

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

Index

Package Files

uploadconfig.go

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

func ResetClusterStatusForNode Uses

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 Uses

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

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

Package uploadconfig imports 11 packages (graph) and is imported by 23 packages. Updated 2019-12-04. Refresh now. Tools for package owners.