-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows_hostprocess.yaml
40 lines (40 loc) · 1.27 KB
/
windows_hostprocess.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
kind: DaemonSet
apiVersion: apps/v1
metadata:
name: csi-gce-pd-node-win
spec:
template:
spec:
hostNetwork: true
securityContext:
windowsOptions:
hostProcess: true
runAsUserName: "NT AUTHORITY\\SYSTEM"
containers:
- name: csi-driver-registrar
command:
- csi-node-driver-registrar.exe
args:
- --v=5
- --csi-address=unix://c:\var\lib\kubelet\plugins\pd.csi.storage.gke.io\csi.sock
- --kubelet-registration-path=/var/lib/kubelet/plugins/pd.csi.storage.gke.io/csi.sock
- --plugin-registration-path=/var/lib/kubelet/plugins_registry
volumeMounts:
- name: registration-dir
mountPath: /registration
$patch: delete
- name: gce-pd-driver
command:
- gce-pd-csi-driver.exe
args:
- --v=5
- --endpoint=unix:/c:\var\lib\kubelet\plugins\pd.csi.storage.gke.io\csi.sock
- --run-controller-service=false
volumeMounts:
- $patch: replace
volumes:
- name: plugin-dir
hostPath:
path: /var/lib/kubelet/plugins/pd.csi.storage.gke.io
type: DirectoryOrCreate
- $patch: replace