Skip to content

Commit

Permalink
Merge pull request #135 from wnxn/master
Browse files Browse the repository at this point in the history
update readme for new release file
  • Loading branch information
ks-ci-bot authored Oct 11, 2019
2 parents 9cef65f + 442ca75 commit 3d56c00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This guide will install CSI plugin in the *kube-system* namespace of Kubernetes
- Enable `--read-only-port=10255` on kubelet
- Download installation file
```
$ wget https://raw.githubusercontent.com/yunify/qingcloud-csi/master/deploy/disk/kubernetes/releases/qingcloud-csi-disk-v1.1.0-rc.1.yaml
$ wget https://raw.githubusercontent.com/yunify/qingcloud-csi/master/deploy/disk/kubernetes/releases/qingcloud-csi-disk-v1.1.0-rc.2.yaml
```
- Add QingCloud platform parameter on ConfigMap
QingCloud CSI plugin manipulates cloud resource by QingCloud platform API. User must test the connection between QingCloud platform API and user's own instance by and check QingCloud platform configuration by [QingCloud CLI](https://docs.qingcloud.com/product/cli/).
Expand All @@ -83,7 +83,7 @@ QingCloud CSI plugin manipulates cloud resource by QingCloud platform API. User
> IMPORTANT: If kubelet, a component of Kubernetes, set the `--root-dir` option (default: *"/var/lib/kubelet"*), please replace *"/var/lib/kubelet"* with the value of `--root-dir` at the CSI [DaemonSet](deploy/disk/kubernetes/csi-node-ds.yaml) YAML file's `spec.template.spec.containers[name=csi-qingcloud].volumeMounts[name=mount-dir].mountPath` and `spec.template.spec.volumes[name=mount-dir].hostPath.path` fields. For instance, in Kubernetes cluster based on QingCloud AppCenter, you should replace *"/var/lib/kubelet"* with *"/data/var/lib/kubelet"* in the CSI [DaemonSet](deploy/disk/kubernetes/csi-node-ds.yaml) YAML file.
```
$ kubectl apply -f qingcloud-csi-disk-v1.1.0-rc.1.yaml
$ kubectl apply -f qingcloud-csi-disk-v1.1.0-rc.2.yaml
```
- Check CSI plugin
Expand All @@ -99,7 +99,7 @@ $ kubectl get pods -n kube-system --selector=app=csi-qingcloud
### Uninstall
```
$ kubectl delete -f qingcloud-csi-disk-v1.1.0-rc.1.yaml
$ kubectl delete -f qingcloud-csi-disk-v1.1.0-rc.2.yaml
```
### StorageClass Parameters
Expand Down
6 changes: 3 additions & 3 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ QingCloud CSI 插件实现了 [CSI](https://github.com/container-storage-interfa

- 下载安装文件并解压
```
$ wget https://raw.githubusercontent.com/yunify/qingcloud-csi/master/deploy/disk/kubernetes/releases/qingcloud-csi-disk-v1.1.0-rc.1.yaml
$ wget https://raw.githubusercontent.com/yunify/qingcloud-csi/master/deploy/disk/kubernetes/releases/qingcloud-csi-disk-v1.1.0-rc.2.yaml
```

- 修改 QingCloud 云平台配置参数
Expand Down Expand Up @@ -86,7 +86,7 @@ $ wget https://raw.githubusercontent.com/yunify/qingcloud-csi/master/deploy/disk
> 注: 如果 Kubernetes 集群的 [kubelet](https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/) 设置了 `--root-dir` 选项(默认值为 *"/var/lib/kubelet"*),请将 DaemonSet 的 `spec.template.spec.containers[name=csi-qingcloud].volumeMounts[name=mount-dir].mountPath` 和 `spec.template.spec.volumes[name=mount-dir].hostPath.path` 的值 *"/var/lib/kubelet"* 替换为 `--root-dir` 选项的值。例如:在通过 QingCloud AppCenter 创建的 Kubernetes 集群内, 需要将 DaemonSet 的 *"/var/lib/kubelet"* 字段替换为 *"/data/var/lib/kubelet"*。
```
$ kubectl apply -f qingcloud-csi-disk-v1.1.0-rc.1.yaml
$ kubectl apply -f qingcloud-csi-disk-v1.1.0-rc.2.yaml
```
- 检查 CSI 插件状态
Expand All @@ -103,7 +103,7 @@ $ kubectl get pods -n kube-system --selector=app=csi-qingcloud
### 卸载
```
$ kubectl delete -f qingcloud-csi-disk-v1.1.0-rc.1.yaml
$ kubectl delete -f qingcloud-csi-disk-v1.1.0-rc.2.yaml
```
### 使用文档
Expand Down

0 comments on commit 3d56c00

Please sign in to comment.