Documentation ¶
Index ¶
- func CreateAPIServerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
- func CreateControllerManagerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
- func CreateInitStaticPodManifestFiles(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
- func CreateSchedulerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
- func GetStaticPodSpecs(cfg *kubeadmapi.InitConfiguration, k8sVersion *version.Version) map[string]v1.Pod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAPIServerStaticPodManifestFile ¶
func CreateAPIServerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
CreateAPIServerStaticPodManifestFile will write APIserver static pod manifest file.
func CreateControllerManagerStaticPodManifestFile ¶
func CreateControllerManagerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
CreateControllerManagerStaticPodManifestFile will write controller manager static pod manifest file.
func CreateInitStaticPodManifestFiles ¶
func CreateInitStaticPodManifestFiles(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
CreateInitStaticPodManifestFiles will write all static pod manifest files needed to bring up the control plane.
func CreateSchedulerStaticPodManifestFile ¶
func CreateSchedulerStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
CreateSchedulerStaticPodManifestFile will write scheduler static pod manifest file.
func GetStaticPodSpecs ¶
func GetStaticPodSpecs(cfg *kubeadmapi.InitConfiguration, k8sVersion *version.Version) map[string]v1.Pod
GetStaticPodSpecs returns all staticPodSpecs actualized to the context of the current InitConfiguration NB. this methods holds the information about how kubeadm creates static pod manifests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.