proxy

package
v1.8.5-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

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 = `` /* 1490-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.MasterConfiguration, 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