Documentation ¶
Index ¶
- Constants
- func CreateClientAndWaitForAPI(file string) (*clientset.Clientset, error)
- func CreateDiscoveryDeploymentAndSecret(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) error
- func CreateSelfHostedControlPlane(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) error
- func WaitForAPI(client *clientset.Clientset)
- func WriteStaticPodManifests(cfg *kubeadmapi.MasterConfiguration) error
Constants ¶
View Source
const ( DummyDeployment = `` /* 380-byte string literal not displayed */ KubeDiscoveryDeployment = `` /* 1534-byte string literal not displayed */ )
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 CreateDiscoveryDeploymentAndSecret ¶
func CreateDiscoveryDeploymentAndSecret(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) error
func CreateSelfHostedControlPlane ¶ added in v1.6.0
func CreateSelfHostedControlPlane(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) error
func WaitForAPI ¶ added in v1.6.0
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.
Click to show internal directories.
Click to hide internal directories.