Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KubeProxyConfigMap19 is the proxy ConfigMap manifest for Kubernetes 1.9 and above KubeProxyConfigMap19 = `` /* 677-byte string literal not displayed */ // KubeProxyDaemonSet19 is the proxy DaemonSet manifest for Kubernetes 1.9 and above KubeProxyDaemonSet19 = `` /* 1587-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.ClusterConfiguration, localEndpoint *kubeadmapi.APIEndpoint, 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.