Skip to content

Commit

Permalink
Update the version of local-volume-provisioner (#2637) (#2639)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Oct 21, 2024
1 parent f335c43 commit 98e7376
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions en/configure-storage-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,17 +187,17 @@ The steps for offline deployment are the same as for online deployment, except f
* Download the `local-volume-provisioner.yaml` file on a machine with Internet access, then upload it to the server and install it.
* The `local-volume-provisioner` is a DaemonSet that starts a Pod on every Kubernetes worker node. The Pod uses the `quay.io/external_storage/local-volume-provisioner:v2.3.4` image. If the server does not have access to the Internet, download this Docker image on a machine with Internet access:
* The `local-volume-provisioner` is a DaemonSet that starts a Pod on every Kubernetes worker node. The Pod uses the `quay.io/external_storage/local-volume-provisioner:v2.5.0` image. If the server does not have access to the Internet, download this Docker image on a machine with Internet access:
``` shell
docker pull quay.io/external_storage/local-volume-provisioner:v2.3.4
docker save -o local-volume-provisioner-v2.3.4.tar quay.io/external_storage/local-volume-provisioner:v2.3.4
docker pull quay.io/external_storage/local-volume-provisioner:v2.5.0
docker save -o local-volume-provisioner-v2.5.0.tar quay.io/external_storage/local-volume-provisioner:v2.5.0
```
Copy the `local-volume-provisioner-v2.3.4.tar` file to the server, and execute the `docker load` command to load the file on the server:
Copy the `local-volume-provisioner-v2.5.0.tar` file to the server, and execute the `docker load` command to load the file on the server:
```shell
docker load -i local-volume-provisioner-v2.3.4.tar
docker load -i local-volume-provisioner-v2.5.0.tar
```
### Best practices
Expand Down
10 changes: 5 additions & 5 deletions zh/configure-storage-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,21 +199,21 @@ Kubernetes 当前支持静态分配的本地存储。可使用 [local-static-pro

* 先在有外网的服务器下载 local-volume-provisioner 部署文件,上传到服务器上后再进行安装。

* local-volume-provisioner 程序是一个 DaemonSet,会在每个 Kubernetes 工作节点上启动一个 Pod,这个 Pod 使用的镜像是 `quay.io/external_storage/local-volume-provisioner:v2.3.4`,如果服务器没有外网,需要先将此 Docker 镜像在有外网的机器下载下来:
* local-volume-provisioner 程序是一个 DaemonSet,会在每个 Kubernetes 工作节点上启动一个 Pod,这个 Pod 使用的镜像是 `quay.io/external_storage/local-volume-provisioner:v2.5.0`,如果服务器没有外网,需要先将此 Docker 镜像在有外网的机器下载下来:

{{< copyable "shell-regular" >}}

``` shell
docker pull quay.io/external_storage/local-volume-provisioner:v2.3.4
docker save -o local-volume-provisioner-v2.3.4.tar quay.io/external_storage/local-volume-provisioner:v2.3.4
docker pull quay.io/external_storage/local-volume-provisioner:v2.5.0
docker save -o local-volume-provisioner-v2.5.0.tar quay.io/external_storage/local-volume-provisioner:v2.5.0
```

`local-volume-provisioner-v2.3.4.tar` 文件拷贝到服务器上,执行 `docker load` 命令将其 load 到服务器上:
`local-volume-provisioner-v2.5.0.tar` 文件拷贝到服务器上,执行 `docker load` 命令将其 load 到服务器上:

{{< copyable "shell-regular" >}}

``` shell
docker load -i local-volume-provisioner-v2.3.4.tar
docker load -i local-volume-provisioner-v2.5.0.tar
```

### 最佳实践
Expand Down

0 comments on commit 98e7376

Please sign in to comment.