master

package
v0.12.1-0...-0a124f2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2017 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultClusterName     = "kubernetes"
	DefaultCloudConfigPath = "/etc/kubernetes/cloud-config"
)

Static pod definitions in golang form are included below so that `kubeadm init` can get going.

View Source
const (
	DummyDeployment = `` /* 380-byte string literal not displayed */

	KubeDiscoveryDeployment = `` /* 1683-byte string literal not displayed */

)
View Source
const (
	// TODO: prefix with kubeadm prefix
	KubeletBootstrapUser = "kubeadm-node-csr"

	KubeletBootstrapGroup = "kubeadm:kubelet-bootstrap"
)

Variables

This section is empty.

Functions

func CreateClientAndWaitForAPI

func CreateClientAndWaitForAPI(file string) (*clientset.Clientset, error)

func CreateClientFromFile

func CreateClientFromFile(path string) (*clientset.Clientset, error)

func CreateDiscoveryDeploymentAndSecret

func CreateDiscoveryDeploymentAndSecret(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) error

func CreateSelfHostedControlPlane

func CreateSelfHostedControlPlane(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) error

func CreateTokenAuthFile

func CreateTokenAuthFile(bt string) error

func WaitForAPI

func WaitForAPI(client *clientset.Clientset)

func WriteStaticPodManifests

func WriteStaticPodManifests(cfg *kubeadmapi.MasterConfiguration) error

WriteStaticPodManifests builds manifest objects based on user provided configuration and then dumps it to disk where kubelet will pick and schedule them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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