package master
import "k8s.io/kubernetes/cmd/kubeadm/app/master"
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 ¶
const ( DummyDeployment = "" /* 382 byte string literal not displayed */ KubeDiscoveryDeployment = "" /* 1536 byte string literal not displayed */ )
const (
DefaultCloudConfigPath = "/etc/kubernetes/cloud-config"
)
Static pod definitions in golang form are included below so that `kubeadm init` can get going.
Functions ¶
func CreateClientAndWaitForAPI ¶
func CreateDiscoveryDeploymentAndSecret ¶
func CreateDiscoveryDeploymentAndSecret(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) error
func CreateSelfHostedControlPlane ¶
func CreateSelfHostedControlPlane(cfg *kubeadmapi.MasterConfiguration, client *clientset.Clientset) error
func WaitForAPI ¶
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.
Source Files ¶
apiclient.go discovery.go manifests.go selfhosted.go templates.go
- Version
- v1.6.0-beta.1
- Published
- Mar 2, 2017
- Platform
- js/wasm
- Imports
- 28 packages
- Last checked
- 17 minutes ago –
Tools for package owners.