Documentation

Index

Constants

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

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

    Variables

    This section is empty.

    Functions

    func CreateClientAndWaitForAPI

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

    func CreateSelfHostedControlPlane

    func CreateSelfHostedControlPlane(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) 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.