mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
Consolidate changes to single line
This commit is contained in:
@@ -14,8 +14,7 @@ To run K3s in this mode, you must have an odd number of server nodes. We recomme
|
||||
|
||||
To get started, first launch a server node with the `cluster-init` flag to enable clustering and a token that will be used as a shared secret to join additional servers to the cluster.
|
||||
```
|
||||
K3S_TOKEN=SECRET
|
||||
curl -sfL https://get.k3s.io | sh -s - server --cluster-init
|
||||
curl -sfL https://get.k3s.io | K3S_TOKEN=SECRET sh -s - server --cluster-init
|
||||
```
|
||||
|
||||
After launching the first server, join the second and third servers to the cluster using the shared secret:
|
||||
|
||||
Reference in New Issue
Block a user