mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
kubeadm: fix missing 'all' in 'init phase control-plane'
This commit is contained in:
parent
26d32a7cff
commit
52e62a73d8
@ -34,10 +34,10 @@ var (
|
|||||||
controlPlaneExample = normalizer.Examples(`
|
controlPlaneExample = normalizer.Examples(`
|
||||||
# Generates all static Pod manifest files for control plane components,
|
# Generates all static Pod manifest files for control plane components,
|
||||||
# functionally equivalent to what is generated by kubeadm init.
|
# functionally equivalent to what is generated by kubeadm init.
|
||||||
kubeadm init phase control-plane
|
kubeadm init phase control-plane all
|
||||||
|
|
||||||
# Generates all static Pod manifest files using options read from a configuration file.
|
# Generates all static Pod manifest files using options read from a configuration file.
|
||||||
kubeadm init phase control-plane --config config.yaml
|
kubeadm init phase control-plane all --config config.yaml
|
||||||
`)
|
`)
|
||||||
|
|
||||||
controlPlanePhaseProperties = map[string]struct {
|
controlPlanePhaseProperties = map[string]struct {
|
||||||
@ -80,6 +80,7 @@ func NewControlPlanePhase() workflow.Phase {
|
|||||||
Name: "all",
|
Name: "all",
|
||||||
Short: "Generates all static Pod manifest files",
|
Short: "Generates all static Pod manifest files",
|
||||||
InheritFlags: getControlPlanePhaseFlags("all"),
|
InheritFlags: getControlPlanePhaseFlags("all"),
|
||||||
|
Example: controlPlaneExample,
|
||||||
RunAllSiblings: true,
|
RunAllSiblings: true,
|
||||||
},
|
},
|
||||||
newControlPlaneSubPhase(kubeadmconstants.KubeAPIServer),
|
newControlPlaneSubPhase(kubeadmconstants.KubeAPIServer),
|
||||||
|
Loading…
Reference in New Issue
Block a user