package proxy
import "k8s.io/kubernetes/cmd/kubeadm/app/phases/addons/proxy"
Index ¶
- Constants
- func CreateRBACRules(client clientset.Interface) error
- func CreateServiceAccount(client clientset.Interface) error
- func EnsureProxyAddon(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error
Constants ¶
const ( KubeProxyConfigMap19 = "" /* 679 byte string literal not displayed */ KubeProxyDaemonSet19 = "" /* 1589 byte string literal not displayed */ )
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" )
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.InitConfiguration, client clientset.Interface) error
EnsureProxyAddon creates the kube-proxy addons
Source Files ¶
manifests.go proxy.go
- Version
- v1.13.5
- Published
- Mar 22, 2019
- Platform
- js/wasm
- Imports
- 17 packages
- Last checked
- 5 minutes ago –
Tools for package owners.