package proxy

import "k8s.io/kubernetes/cmd/kubeadm/app/phases/addons/proxy"

Index

Constants

const (
	KubeProxyConfigMap = "" /* 618 byte string literal not displayed */

	KubeProxyDaemonSet = "" /* 1332 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

func CreateRBACRules(client clientset.Interface) error

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

func CreateServiceAccount

func CreateServiceAccount(client clientset.Interface) error

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

Source Files

manifests.go proxy.go

Version
v1.8.2-beta.0
Published
Oct 11, 2017
Platform
js/wasm
Imports
14 packages
Last checked
56 seconds ago

Tools for package owners.