File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
cmd/kubeadm/app/cmd/phases Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ var (
34
34
controlPlaneExample = normalizer .Examples (`
35
35
# Generates all static Pod manifest files for control plane components,
36
36
# functionally equivalent to what is generated by kubeadm init.
37
- kubeadm init phase control-plane
37
+ kubeadm init phase control-plane all
38
38
39
39
# Generates all static Pod manifest files using options read from a configuration file.
40
- kubeadm init phase control-plane --config config.yaml
40
+ kubeadm init phase control-plane all --config config.yaml
41
41
` )
42
42
43
43
controlPlanePhaseProperties = map [string ]struct {
@@ -80,6 +80,7 @@ func NewControlPlanePhase() workflow.Phase {
80
80
Name : "all" ,
81
81
Short : "Generates all static Pod manifest files" ,
82
82
InheritFlags : getControlPlanePhaseFlags ("all" ),
83
+ Example : controlPlaneExample ,
83
84
RunAllSiblings : true ,
84
85
},
85
86
newControlPlaneSubPhase (kubeadmconstants .KubeAPIServer ),
You can’t perform that action at this time.
0 commit comments