proxy

package
v1.9.10-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KubeProxyConfigMap18 is the proxy ConfigMap manifest for Kubernetes version 1.8
	KubeProxyConfigMap18 = `` /* 616-byte string literal not displayed */

	// KubeProxyConfigMap19 is the proxy ConfigMap manifest for Kubernetes 1.9 and above
	KubeProxyConfigMap19 = `` /* 653-byte string literal not displayed */

	// KubeProxyDaemonSet18 is the proxy DaemonSet manifest for Kubernetes version 1.8
	KubeProxyDaemonSet18 = `` /* 1484-byte string literal not displayed */

	// KubeProxyDaemonSet19 is the proxy DaemonSet manifest for Kubernetes 1.9 and above
	KubeProxyDaemonSet19 = `` /* 1449-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