Skip to content

Commit

Permalink
Merge pull request #143 from fredkan/v1.0.1-release-update
Browse files Browse the repository at this point in the history
v1.0.1 release notes
  • Loading branch information
fredkan authored Nov 15, 2019
2 parents b440876 + 414c423 commit d9e519e
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 4 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG-v1.0.x.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@

# v1.0.1
[Documentation](https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/blob/v1.0.1/README.md)

## Action Required
* Upgrade Kubernetes cluster to 1.14+ before deploying CSI Plugin.
* Configure RBAC before deploying CSI Plugin. [Reference](https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/blob/v1.0.1/deploy/rbac.yaml)
* Create CSIDriver Object before deploying CSI Plugin. [Reference](https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/blob/v1.0.1/deploy/ack/csi-plugin.yaml)

## Deploy & Upgrade
* Deploy CSI Plugin with the templates. [Reference](https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/tree/v1.0.1/deploy)

## Released Image:
* registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.60-5318afe-aliyun

## Notable changes

* Support to provision nas volume with subpath/filesystem type.
* Support to set disk tags when provision disk volumes.
* Support to set multizones in storageclass which support provision disk volumes in multizone cluster.
* Support to set KMS authentication when provision disk volumes.
* Support to expand disk volumes.(Alpha Feature)
* Support to use topology aware when provision disk volumes.



# v1.0.0
[Documentation](https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/blob/v1.0.0/README.md)

Expand Down
6 changes: 3 additions & 3 deletions deploy/ack/csi-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.47-5577bcb-aliyun
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.60-5318afe-aliyun
imagePullPolicy: "Always"
args:
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down Expand Up @@ -110,7 +110,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.47-5577bcb-aliyun
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.60-5318afe-aliyun
imagePullPolicy: "Always"
args:
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down Expand Up @@ -145,7 +145,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.47-5577bcb-aliyun
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.60-5318afe-aliyun
imagePullPolicy: "Always"
args:
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down
70 changes: 69 additions & 1 deletion deploy/ack/csi-provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ parameters:
reclaimPolicy: Delete
allowVolumeExpansion: true
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: alicloud-disk-topology
provisioner: diskplugin.csi.alibabacloud.com
parameters:
type: available
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
---
kind: Service
apiVersion: v1
metadata:
Expand Down Expand Up @@ -101,7 +112,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.47-5577bcb-aliyun
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.60-5318afe-aliyun
imagePullPolicy: "Always"
args:
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down Expand Up @@ -141,9 +152,66 @@ spec:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 15
- name: csi-nas-external-provisioner
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-provisioner:v1.2.0
args:
- "--provisioner=nasplugin.csi.alibabacloud.com"
- "--csi-address=$(ADDRESS)"
- "--volume-name-prefix=nas"
- "--v=5"
env:
- name: ADDRESS
value: /socketDir/csi.sock
imagePullPolicy: "Always"
volumeMounts:
- name: nas-provisioner-dir
mountPath: /socketDir
- name: csi-nasprovisioner
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.cn-hangzhou.aliyuncs.com/acs/csi-plugin:v1.14.5.60-5318afe-aliyun
imagePullPolicy: "Always"
args:
- "--endpoint=$(CSI_ENDPOINT)"
- "--v=5"
- "--driver=nasplugin.csi.alibabacloud.com"
env:
- name: CSI_ENDPOINT
value: unix://socketDir/csi.sock
volumeMounts:
- mountPath: /var/log/
name: host-log
- mountPath: /socketDir/
name: nas-provisioner-dir
- name: etc
mountPath: /host/etc
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 100Mi
livenessProbe:
exec:
command:
- sh
- -c
- ps -ef | grep plugin.csi.alibabacloud.com | grep nasplugin.csi.alibabacloud.com | grep -v grep
failureThreshold: 8
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 15

volumes:
- name: disk-provisioner-dir
emptyDir: {}
- name: nas-provisioner-dir
emptyDir: {}
- name: host-log
hostPath:
path: /var/log/
Expand Down

0 comments on commit d9e519e

Please sign in to comment.