improve readme with links and content

This commit is contained in:
2023-12-22 22:24:31 -07:00
parent 84f56c0238
commit 469b9a55f3
8 changed files with 38 additions and 7 deletions

View File

@ -1,7 +1,20 @@
# 10-Join-Nodes
At this point, other nodes can be joined to the cluster. From a control node, you can get the join command by doing the following.
```bash
sudo kubeadm token create --print-join-command
```
You can then take the command in the output and use it to join other nodes.
```bash
kubeadm join 10.69.69.147:6443 --config join-config.yaml
# Example to join a control node, add --control-plane
sudo kubeadm join 10.69.69.50:6443 --token drazx3.qa70i6wfatxujdqo --discovery-token-ca-cert-hash sha256:5dccc0b4113ffc2543e2d453c35bf4db998719c1c73b60e4467f5c20d3f7b9ad --control-plane
```
# Example to join a worker node
sudo kubeadm join 10.69.69.50:6443 --token drazx3.qa70i6wfatxujdqo --discovery-token-ca-cert-hash sha256:5dccc0b4113ffc2543e2d453c35bf4db998719c1c73b60e4467f5c20d3f7b9ad
```