mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-11-10 18:50:45 +00:00
Consolidate changes to single line
This commit is contained in:
1 parent
29d6368dec
commit
b128c560d4
1 file changed
+1
-2
@@ -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