package controlplane
import "k8s.io/kubernetes/cmd/kubeadm/app/phases/controlplane"
Index ¶
- func CreateInitStaticPodManifestFiles(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
- func CreateStaticPodFiles(manifestDir string, cfg *kubeadmapi.InitConfiguration, componentNames ...string) error
- func GetStaticPodSpecs(cfg *kubeadmapi.InitConfiguration, k8sVersion *version.Version) map[string]v1.Pod
Functions ¶
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 CreateStaticPodFiles ¶
func CreateStaticPodFiles(manifestDir string, cfg *kubeadmapi.InitConfiguration, componentNames ...string) error
CreateStaticPodFiles creates all the requested static pod files.
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.
Source Files ¶
manifests.go volumes.go
- Version
- v1.13.6
- Published
- May 7, 2019
- Platform
- js/wasm
- Imports
- 18 packages
- Last checked
- 1 minute ago –
Tools for package owners.