13 lines
362 B
Markdown
13 lines
362 B
Markdown
|
# Install k3s single master node
|
||
|
|
||
|
```
|
||
|
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable traefik,metrics-server" sh -s -
|
||
|
```
|
||
|
|
||
|
Copy `/etc/rancher/k3s/k3s.yaml` on your machine located outside the cluster as
|
||
|
`~/.kube/config`.
|
||
|
|
||
|
Then:
|
||
|
* replace "127.0.0.1" with the IP or name of your K3s server.
|
||
|
* rename cluster/context/auth (Hint: `s/default/myserver/g`)
|