Fix parameter value

This commit is contained in:
Danny Bessems 2022-04-01 21:50:04 +02:00
parent c070bf747f
commit 3f3d3a5c12

View File

@ -28,7 +28,7 @@ mount -a
## K3s cluster
On first node (replace `<floating ip>` with the correct value):
```shell
curl -sfL https://get.k3s.io | sh -s - server --cluster-init --disable local-path,traefik --tls-san <floating ip>
curl -sfL https://get.k3s.io | sh -s - server --cluster-init --disable local-storage,traefik --tls-san <floating ip>
cat /var/lib/rancher/k3s/server/token
kubectl config view --raw
```
@ -43,7 +43,7 @@ EOF
```
On subsequent nodes (replace `<fqdn or ip>` and `<value from master>` with the correct values):
```shell
curl -sfL https://get.k3s.io | K3S_URL=https://<fqdn or ip>:6443 K3S_TOKEN=<value from master> sh -s - server --server --disable local-path,traefik
curl -sfL https://get.k3s.io | K3S_URL=https://<fqdn or ip>:6443 K3S_TOKEN=<value from master> sh -s - server --server --disable local-storage,traefik
```
### 0) Configure automatic updates