kubernetesk8s.io/kubernetes/cmd/kubeadm/app/phases/controlplane Index | Files

package controlplane

import "k8s.io/kubernetes/cmd/kubeadm/app/phases/controlplane"

Index

Constants

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

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

Functions

func CreateAPIServerStaticPodManifestFile

func CreateAPIServerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.MasterConfiguration) error

CreateAPIServerStaticPodManifestFile will write APIserver static pod manifest file.

func CreateControllerManagerStaticPodManifestFile

func CreateControllerManagerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.MasterConfiguration) error

CreateControllerManagerStaticPodManifestFile will write controller manager static pod manifest file.

func CreateInitStaticPodManifestFiles

func CreateInitStaticPodManifestFiles(manifestDir string, cfg *kubeadmapi.MasterConfiguration) error

CreateInitStaticPodManifestFiles will write all static pod manifest files needed to bring up the control plane.

func CreateSchedulerStaticPodManifestFile

func CreateSchedulerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.MasterConfiguration) error

CreateSchedulerStaticPodManifestFile will write scheduler static pod manifest file.

func GetStaticPodSpecs

func GetStaticPodSpecs(cfg *kubeadmapi.MasterConfiguration, k8sVersion *version.Version) map[string]v1.Pod

GetStaticPodSpecs returns all staticPodSpecs actualized to the context of the current MasterConfiguration NB. this methods holds the information about how kubeadm creates static pod mainfests.

Source Files

manifests.go volumes.go

Version
v1.8.0
Published
Sep 28, 2017
Platform
js/wasm
Imports
16 packages
Last checked
13 seconds ago

Tools for package owners.