Skip to content

Commit 5eabf17

Browse files
author
Alexey Khodos
committed
v2.3.3 release
1 parent 43e1d4f commit 5eabf17

19 files changed

+101
-91
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ spec:
373373
storage: 1Gi
374374
csi:
375375
driver: exa.csi.ddn.com
376-
volumeHandle: exa1:/exaFS/nginx-persistent
376+
volumeHandle: exa1:10.3.3.200@tcp;/exaFS:/mountPoint-csi:/nginx-persistent
377377
volumeAttributes: # volumeAttributes are the alternative of storageClass params for static (precreated) volumes.
378378
exaMountUid: "1001" # Uid which will be used to access the volume in pod.
379379
#mountOptions: ro, flock # list of options for `mount` command
@@ -387,7 +387,7 @@ If a parameter is available for both config and storage class, storage class par
387387
| `exaFS` | `exaFS` | [required] Full path to EXAScaler filesystem | `10.3.3.200@tcp:/csi-fs` |
388388
| `mountPoint` |`mountPoint` | [required] Mountpoint on Kubernetes host where the exaFS will be mounted | `/exa-csi-mnt` |
389389
| - | `driver` [required] | Installed driver name " exa.csi.ddn.com" | `exa.csi.ddn.com` |
390-
| - | `volumeHandle` | [required for static volumes] EXAScaler name and path to volume on EXAScaler filesystem | `exa1:/nginx-persistent` |
390+
| - | `volumeHandle` | [required for static volumes] EXAScaler name and path to volume on EXAScaler filesystem. The format is <configName:exaFS with colons replaced by semicolons:mountPoint:volumeName> | `exa1:10.3.3.200@tcp;/exaFS:/mountPoint-csi:/nginx-persistent` |
391391
| - | `exaMountUid` | Uid which will be used to access the volume from the pod. | `1015` |
392392
| - | `exaMountGid` | Gid which will be used to access the volume from the pod. | `1015` |
393393
| - | `projectId` | Points to EXA project id to be used to set volume quota. Automatically generated by the driver if not provided. | `100001` |

bin/exascaler-csi-file-driver.tar

34.5 KB
Binary file not shown.

deploy/helm-chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 0.2.0-rev2
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "2.2.6"
24+
appVersion: 2.3.3

deploy/helm-chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ volumeNamePrefix: "pvc-exa"
66

77
image:
88
repository: "quay.io/ddn/exascaler-csi-file-driver"
9-
tag: v2.3.2
9+
tag: v2.3.3
1010
pullPolicy: "Always"
1111
# Overrides the image tag whose default is the chart appVersion.
1212
resources:

deploy/kubernetes/exascaler-csi-file-driver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ spec:
271271
capabilities:
272272
add: ['SYS_ADMIN']
273273
allowPrivilegeEscalation: true
274-
image: quay.io/ddn/exascaler-csi-file-driver:v2.3.2
274+
image: quay.io/ddn/exascaler-csi-file-driver:v2.3.3
275275
imagePullPolicy: Always
276276
args:
277277
- --nodeid=$(KUBE_NODE_NAME)
@@ -397,7 +397,7 @@ spec:
397397
capabilities:
398398
add: ['SYS_ADMIN']
399399
allowPrivilegeEscalation: true
400-
image: quay.io/ddn/exascaler-csi-file-driver:v2.3.2
400+
image: quay.io/ddn/exascaler-csi-file-driver:v2.3.3
401401
imagePullPolicy: Always
402402
args:
403403
- --nodeid=$(KUBE_NODE_NAME)

deploy/openshift/exascaler-csi-file-driver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ spec:
356356
volumeMounts:
357357
- name: socket-dir
358358
mountPath: /csi/
359-
- image: quay.io/ddn/exascaler-openshift-file-driver:v2.3.2
359+
- image: quay.io/ddn/exascaler-openshift-file-driver:v2.3.3
360360
imagePullPolicy: Always
361361
args:
362362
- --nodeid=$(KUBE_NODE_NAME)
@@ -448,7 +448,7 @@ spec:
448448
securityContext:
449449
privileged: true
450450
allowPrivilegeEscalation: true
451-
image: quay.io/ddn/exascaler-openshift-file-driver:v2.3.2
451+
image: quay.io/ddn/exascaler-openshift-file-driver:v2.3.3
452452
imagePullPolicy: Always
453453
args:
454454
- --nodeid=$(KUBE_NODE_NAME)
-2.58 MB
Binary file not shown.
-728 KB
Binary file not shown.

examples/exa-dynamic-nginx-2.yaml renamed to examples/exa-dynamic-nginx-sub.yaml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,12 @@
55
apiVersion: storage.k8s.io/v1
66
kind: StorageClass
77
metadata:
8-
name: exascaler-csi-file-driver-sc-2
8+
name: exascaler-csi-file-driver-sc-sub
99
provisioner: exa.csi.ddn.com
1010
allowVolumeExpansion: true
1111
parameters:
12-
# projectId: "100001" # Points to a project id to be used to set volume quota.
1312
exaMountUid: "1001" # Uid which will be used to access the volume in pod. Should be synced between EXA server and clients.
1413
exaMountGid: "1001" # Gid which will be used to access the volume in pod. Should be synced between EXA server and clients.
15-
bindMount: "true"
16-
volumeDirPermissions: "1750"
17-
hotNodes: "true"
18-
pccCache: "/mnt/csi-1"
19-
# pccAutocache: ""
20-
# pccPurgeHighUsage: ""
21-
# pccPurgeLowUsage: ""
22-
# pccPurgeScanThreads: ""
23-
# pccPurgeInterval: ""
24-
# pccPurgeLogLevel: ""
25-
# pccPurgeForceScanInterval: ""
2614
---
2715

2816
# ------------------------------------------------
@@ -32,9 +20,9 @@ parameters:
3220
apiVersion: v1
3321
kind: PersistentVolumeClaim
3422
metadata:
35-
name: exascaler-csi-file-driver-pvc-2
23+
name: exascaler-csi-file-driver-pvc-sub
3624
spec:
37-
storageClassName: exascaler-csi-file-driver-sc-2
25+
storageClassName: exascaler-csi-file-driver-sc-sub
3826
accessModes:
3927
- ReadWriteMany
4028
resources:
@@ -49,12 +37,10 @@ spec:
4937
apiVersion: v1
5038
kind: Pod
5139
metadata:
52-
name: nginx-dynamic-volume-2
40+
name: nginx-dynamic-volume-sub
5341
spec:
5442
securityContext:
5543
runAsUser: 1001
56-
# runAsGroup: 1001
57-
# fsGroup: 1001
5844
containers:
5945
- image: nginxinc/nginx-unprivileged
6046
imagePullPolicy: IfNotPresent
@@ -94,5 +80,5 @@ spec:
9480
volumes:
9581
- name: exascaler-csi-file-driver-data
9682
persistentVolumeClaim:
97-
claimName: exascaler-csi-file-driver-pvc-2
83+
claimName: exascaler-csi-file-driver-pvc-sub
9884
readOnly: false
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# --------------------------------------
2+
# Exascaler CSI Driver - Storage Class
3+
# --------------------------------------
4+
5+
apiVersion: storage.k8s.io/v1
6+
kind: StorageClass
7+
metadata:
8+
name: exascaler-csi-file-driver-sc-zone
9+
provisioner: exa.csi.ddn.com
10+
allowedTopologies:
11+
- matchLabelExpressions:
12+
- key: topology.exa.csi.ddn.com/zone
13+
values:
14+
- zone-1
15+
allowVolumeExpansion: true
16+
parameters:
17+
exaMountUid: "1001" # Uid which will be used to access the volume in pod. Should be synced between EXA server and clients.
18+
---
19+
20+
# ------------------------------------------------
21+
# Exaxscaler CSI Driver - Persistent Volume Claim
22+
# ------------------------------------------------
23+
24+
apiVersion: v1
25+
kind: PersistentVolumeClaim
26+
metadata:
27+
name: exascaler-csi-file-driver-pvc-zone
28+
spec:
29+
storageClassName: exascaler-csi-file-driver-sc-zone
30+
accessModes:
31+
- ReadWriteMany
32+
resources:
33+
requests:
34+
storage: 1Gi
35+
---
36+
37+
# ---------
38+
# Nginx pod
39+
# ---------
40+
41+
apiVersion: v1
42+
kind: Pod
43+
metadata:
44+
name: nginx-dynamic-volume-zone
45+
spec:
46+
topologySpreadConstraints:
47+
- maxSkew: 1
48+
topologyKey: topology.exa.csi.ddn.com/zone
49+
whenUnsatisfiable: DoNotSchedule
50+
labelSelector:
51+
matchLabels:
52+
topology.exa.csi.ddn.com/zone: zone-1
53+
securityContext:
54+
runAsUser: 1001
55+
containers:
56+
- image: nginxinc/nginx-unprivileged
57+
imagePullPolicy: IfNotPresent
58+
name: nginx
59+
ports:
60+
- containerPort: 80
61+
protocol: TCP
62+
volumeMounts:
63+
- mountPath: /data
64+
name: exascaler-csi-file-driver-data
65+
volumes:
66+
- name: exascaler-csi-file-driver-data
67+
persistentVolumeClaim:
68+
claimName: exascaler-csi-file-driver-pvc-zone
69+
readOnly: false

0 commit comments

Comments
 (0)