package controlplane
import "k8s.io/kubernetes/cmd/kubeadm/app/phases/controlplane"
Index ¶
- func CreateInitStaticPodManifestFiles(manifestDir, patchesDir string, cfg *kubeadmapi.InitConfiguration, isDryRun bool) error
- func CreateStaticPodFiles(manifestDir, patchesDir string, cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, isDryRun bool, componentNames ...string) error
- func GetStaticPodSpecs(cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, proxyEnvs []kubeadmapi.EnvVar) map[string]v1.Pod
Functions ¶
func CreateInitStaticPodManifestFiles ¶
func CreateInitStaticPodManifestFiles(manifestDir, patchesDir string, cfg *kubeadmapi.InitConfiguration, isDryRun bool) error
CreateInitStaticPodManifestFiles will write all static pod manifest files needed to bring up the control plane.
func CreateStaticPodFiles ¶
func CreateStaticPodFiles(manifestDir, patchesDir string, cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, isDryRun bool, componentNames ...string) error
CreateStaticPodFiles creates all the requested static pod files.
func GetStaticPodSpecs ¶
func GetStaticPodSpecs(cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, proxyEnvs []kubeadmapi.EnvVar) map[string]v1.Pod
GetStaticPodSpecs returns all staticPodSpecs actualized to the context of the current configuration NB. this method holds the information about how kubeadm creates static pod manifests.
Source Files ¶
manifests.go volumes.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 19 packages
- Last checked
- 6 hours ago –
Tools for package owners.