Documentation ¶
Index ¶
- func CreateInitStaticPodManifestFiles(manifestDir string, cfg *kubeadmapi.InitConfiguration) error
- func CreateStaticPodFiles(manifestDir string, cfg *kubeadmapi.ClusterConfiguration, ...) error
- func GetStaticPodSpecs(cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint) map[string]v1.Pod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 ¶ added in v1.13.0
func CreateStaticPodFiles(manifestDir string, cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, componentNames ...string) error
CreateStaticPodFiles creates all the requested static pod files.
func GetStaticPodSpecs ¶
func GetStaticPodSpecs(cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint) map[string]v1.Pod
GetStaticPodSpecs returns all staticPodSpecs actualized to the context of the current configuration 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.