Skip to content

Commit

Permalink
Update Chinese docs
Browse files Browse the repository at this point in the history
Signed-off-by: vickyhella <[email protected]>
  • Loading branch information
vickyhella authored and brandond committed Apr 28, 2023
1 parent fd347ae commit dc484d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import TabItem from '@theme/TabItem';

## 手动部署镜像

我们假设你已经在离线环境中创建了节点
我们假设你已经在离线环境中创建了节点并使用 Containerd 作为容器运行时
此方法需要你手动将必要的镜像部署到每个节点,适用于无法运行私有镜像仓库的边缘部署。

### 准备镜像目录和 K3s 二进制文件
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ curl -sfL https://get.k3s.io | sh -s - --flannel-backend none --token 12345

```bash
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="agent --server https://k3s.example.com --token mypassword" sh -s -
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="agent" K3s_TOKEN="mypassword" sh -s - --server https://k3s.example.com
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="agent" K3S_TOKEN="mypassword" sh -s - --server https://k3s.example.com
curl -sfL https://get.k3s.io | K3S_URL=https://k3s.example.com sh -s - agent --token mypassword
curl -sfL https://get.k3s.io | K3S_URL=https://k3s.example.com K3S_TOKEN=mypassword sh -s - # agent is assumed because of K3S_URL
```
Expand Down

0 comments on commit dc484d8

Please sign in to comment.