mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 14:08:55 +00:00
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:
@@ -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
|
### 2. Confirm that K3s is Running
|
||||||
|
|
||||||
|
|||||||
+11
-1
@@ -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
|
### 2. Confirm that K3s is Running
|
||||||
|
|
||||||
|
|||||||
+11
-1
@@ -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
|
### 2. Confirm that K3s is Running
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user