Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the version of local-volume-provisioner #2637

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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