You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml
+42-1Lines changed: 42 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,15 @@ metadata:
13
13
spec:
14
14
fsGroupPolicy: File
15
15
---
16
+
apiVersion: storage.k8s.io/v1
17
+
kind: CSIDriver
18
+
metadata:
19
+
name: {{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com
20
+
spec:
21
+
attachRequired: false
22
+
podInfoOnMount: false
23
+
fsGroupPolicy: File
24
+
---
16
25
kind: ConfigMap
17
26
apiVersion: v1
18
27
metadata:
@@ -107,6 +116,9 @@ spec:
107
116
- --nodeid=$(KUBE_NODE_NAME)
108
117
- --loglevel=debug
109
118
- --fss-endpoint=unix:///fss/csi.sock
119
+
- --lustre-endpoint=unix:///lustre/csi.sock
120
+
- --lustre-csi-address=/lustre/csi.sock
121
+
- --lustre-kubelet-registration-path=/var/lib/kubelet/plugins/{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com/csi.sock
- --kubelet-registration-path=/var/lib/kubelet/plugins/{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com/csi.sock
- rm -rf /registration/{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com /registration/{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com-reg.sock
225
+
volumeMounts:
226
+
- mountPath: /lustre
227
+
name: lustre-plugin-dir
228
+
- mountPath: /registration
229
+
name: registration-dir
193
230
dnsPolicy: ClusterFirst
194
231
hostNetwork: true
195
232
restartPolicy: Always
@@ -212,6 +249,10 @@ spec:
212
249
path: /var/lib/kubelet/plugins/{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}fss.csi.oraclecloud.com
213
250
type: DirectoryOrCreate
214
251
name: fss-plugin-dir
252
+
- hostPath:
253
+
path: /var/lib/kubelet/plugins/{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com
0 commit comments