Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KubeProxyConfigMap is the proxy ConfigMap manifest KubeProxyConfigMap = `` /* 616-byte string literal not displayed */ // KubeProxyDaemonSet is the proxy DaemonSet manifest KubeProxyDaemonSet = `` /* 1324-byte string literal not displayed */ )
View Source
const ( // KubeProxyClusterRoleName sets the name for the kube-proxy ClusterRole // TODO: This k8s-generic, well-known constant should be fetchable from another source, not be in this package KubeProxyClusterRoleName = "system:node-proxier" // KubeProxyServiceAccountName describes the name of the ServiceAccount for the kube-proxy addon KubeProxyServiceAccountName = "kube-proxy" )
Variables ¶
This section is empty.
Functions ¶
func CreateRBACRules ¶
CreateRBACRules creates the essential RBAC rules for a minimally set-up cluster
func CreateServiceAccount ¶
CreateServiceAccount creates the necessary serviceaccounts that kubeadm uses/might use, if they don't already exist.
func EnsureProxyAddon ¶
func EnsureProxyAddon(cfg *kubeadmapi.MasterConfiguration, client clientset.Interface) error
EnsureProxyAddon creates the kube-proxy addons
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.