proxy

package
v1.12.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

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 = `` /* 1415-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

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.InitConfiguration, client clientset.Interface) error

EnsureProxyAddon creates the kube-proxy addons

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL