学习k8s
This commit is contained in:
@@ -10,7 +10,9 @@ sudo cat /var/lib/rancher/k3s/server/node-token
|
||||
|
||||
## 2. 安装 node
|
||||
```sh
|
||||
curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken sh -
|
||||
curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh |
|
||||
INSTALL_K3S_MIRROR=cn K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken sh - - \
|
||||
--system-default-registry=registry.cn-hangzhou.aliyuncs.com
|
||||
```
|
||||
|
||||
## 3. 删除
|
||||
|
||||
Reference in New Issue
Block a user