improve shell command

now this command could run immediately
curl -sfL https://get.k3s.io | K3S_URL=https:/<master_node>:6443 K3S_TOKEN=XXX sh- 
-> 
curl -sfL https://get.k3s.io | K3S_URL=https:/<master_node>:6443 K3S_TOKEN=XXX sh -
This commit is contained in:
AbserAri
2019-11-01 17:34:12 +08:00
committed by GitHub
parent 0075d4f3aa
commit c398c5fc02
@@ -43,7 +43,7 @@ Following the [Node Requirements]({{< baseurl >}}/k3s/latest/en/installation/nod
Run the following command to join a worker node to the master nodes. You can get the node-token from any of the servers at `/var/lib/rancher/k3s/server/node-token`
```
curl -sfL https://get.k3s.io | K3S_URL=https:/<master_node>:6443 K3S_TOKEN=XXX sh-
curl -sfL https://get.k3s.io | K3S_URL=https:/<master_node>:6443 K3S_TOKEN=XXX sh -
```
Provide the IP or DNS in place of `<master_node>` this can be any one master node. k3s automatically handles load balancing the master nodes.