Merge pull request #697 from alex1704/high-availability-cluster-second-server-setup-fix

Update second server node setup description in HA cluster
This commit is contained in:
Billy Tat
2023-07-07 14:30:07 -07:00
committed by GitHub
3 changed files with 33 additions and 3 deletions
@@ -45,7 +45,17 @@ When running the command to start the K3s Kubernetes API server, you will pass i
:::
1. Repeat the same command on your second K3s server node.
1. Get main server node token:
```
cat /var/lib/rancher/k3s/server/token
```
1. Run command on your second K3s server node:
```
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=<VERSION> sh -s - server \
--datastore-endpoint="<DATASTORE_ENDPOINT>" \
--token "<MAIN_SERVER_NODE_TOKEN>"
```
### 2. Confirm that K3s is Running