mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 05:28:22 +00:00
Small tweak to K3s airgap page
- Changes the Install K3s code block so it's in two separate codeblocks so that someone won't confuse it as one command for each node.
This commit is contained in:
@@ -52,13 +52,15 @@ Also obtain the K3s install script at https://get.k3s.io
|
|||||||
Place the binary in `/usr/local/bin` on each node.
|
Place the binary in `/usr/local/bin` on each node.
|
||||||
Place the install script anywhere on each node, name it `install.sh`.
|
Place the install script anywhere on each node, name it `install.sh`.
|
||||||
|
|
||||||
Install K3s on each node. The example below shows how to do this for a server or an agent (worker):
|
Install K3s on each server:
|
||||||
|
|
||||||
```
|
```
|
||||||
# K3s Server
|
|
||||||
INSTALL_K3S_SKIP_DOWNLOAD=true ./install.sh
|
INSTALL_K3S_SKIP_DOWNLOAD=true ./install.sh
|
||||||
|
```
|
||||||
|
|
||||||
# K3s Agent
|
Install K3s on each agent:
|
||||||
|
|
||||||
|
```
|
||||||
INSTALL_K3S_SKIP_DOWNLOAD=true K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken ./install.sh
|
INSTALL_K3S_SKIP_DOWNLOAD=true K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken ./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user