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

package apiconfig

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

Index

Constants

const (
	// KubeProxyClusterRoleName sets the name for the kube-proxy ClusterRole
	KubeProxyClusterRoleName = "system:node-proxier"
	// NodeBootstrapperClusterRoleName sets the name for the TLS Node Bootstrapper ClusterRole
	NodeBootstrapperClusterRoleName = "system:node-bootstrapper"
	// BootstrapSignerClusterRoleName sets the name for the ClusterRole that allows access to ConfigMaps in the kube-public ns
	BootstrapSignerClusterRoleName = "system:bootstrap-signer-clusterinfo"
)

Functions

func CreateRBACRules

func CreateRBACRules(clientset *clientset.Clientset, k8sVersion *version.Version) error

CreateRBACRules creates the essential RBAC rules for a minimally set-up cluster

func CreateServiceAccounts

func CreateServiceAccounts(clientset clientset.Interface) error

CreateServiceAccounts creates the necessary serviceaccounts that kubeadm uses/might use, if they don't already exist.

func UpdateMasterRoleLabelsAndTaints

func UpdateMasterRoleLabelsAndTaints(client *clientset.Clientset, nodeName string) error

UpdateMasterRoleLabelsAndTaints taints the master and sets the master label

Source Files

clusterroles.go setupmaster.go

Version
v1.7.4-beta.0
Published
Aug 3, 2017
Platform
js/wasm
Imports
16 packages
Last checked
2 minutes ago

Tools for package owners.