Skip to content

Commit 050a727

Browse files
committed
chore(kubeadm): improve add-linux-nodes documentation
Signed-off-by: lekaf974 <[email protected]>
1 parent 394208d commit 050a727

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/en/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ The output is similar to this:
6868
5didvk.d09sbcov8ph2amjw
6969
```
7070

71+
To print a kubeadm join command while also generating a new token you can use:
72+
73+
```bash
74+
sudo kubeadm token create --print-join-command
75+
```
76+
7177
If you don't have the value of `--discovery-token-ca-cert-hash`, you can get it by running the
7278
following commands on the control plane node:
7379

0 commit comments

Comments
 (0)