Skip to content

Commit 3437d01

Browse files
committed
kubeadm/init-join.md: add note about using "skipPhases" from config
Since 1.22 it will be possible to skip phases using the configuration file. Add note about that in the relevant sections of the kubeadm init and join reference pages.
1 parent f288fc6 commit 3437d01

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

content/en/docs/reference/setup-tools/kubeadm/kubeadm-init.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ sudo kubeadm init --skip-phases=control-plane,etcd --config=configfile.yaml
104104

105105
What this example would do is write the manifest files for the control plane and etcd in `/etc/kubernetes/manifests` based on the configuration in `configfile.yaml`. This allows you to modify the files and then skip these phases using `--skip-phases`. By calling the last command you will create a control plane node with the custom manifest files.
106106

107+
{{< feature-state for_k8s_version="v1.22" state="beta" >}}
108+
109+
Alternatively, you can use the `skipPhases` field under `InitConfiguration`.
110+
107111
### Using kubeadm init with a configuration file {#config-file}
108112

109113
{{< caution >}}

content/en/docs/reference/setup-tools/kubeadm/kubeadm-join.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ For example:
6666
sudo kubeadm join --skip-phases=preflight --config=config.yaml
6767
```
6868

69+
{{< feature-state for_k8s_version="v1.22" state="beta" >}}
70+
71+
Alternatively, you can use the `skipPhases` field in `JoinConfiguration`.
72+
6973
### Discovering what cluster CA to trust
7074

7175
The kubeadm discovery has several options, each with security tradeoffs.

0 commit comments

Comments
 (0)