|
| 1 | +kind: DaemonSet |
| 2 | +apiVersion: apps/v1 |
| 3 | +metadata: |
| 4 | + name: csi-gce-pd-node |
| 5 | +spec: |
| 6 | + selector: |
| 7 | + matchLabels: |
| 8 | + app: gcp-compute-persistent-disk-csi-driver |
| 9 | + template: |
| 10 | + metadata: |
| 11 | + labels: |
| 12 | + app: gcp-compute-persistent-disk-csi-driver |
| 13 | + spec: |
| 14 | + priorityClassName: csi-gce-pd-node |
| 15 | + serviceAccountName: csi-gce-pd-node-sa |
| 16 | + nodeSelector: |
| 17 | + kubernetes.io/os: windows |
| 18 | + containers: |
| 19 | + - name: csi-driver-registrar |
| 20 | + image: gke.gcr.io/csi-node-driver-registrar |
| 21 | + args: |
| 22 | + - --v=5 |
| 23 | + - --csi-address=unix://C:\\csi\\csi.sock |
| 24 | + - --kubelet-registration-path=C:\\var\\lib\\kubelet\\plugins\\pd.csi.storage.gke.io\\csi.sock |
| 25 | + env: |
| 26 | + - name: KUBE_NODE_NAME |
| 27 | + valueFrom: |
| 28 | + fieldRef: |
| 29 | + fieldPath: spec.nodeName |
| 30 | + volumeMounts: |
| 31 | + - name: plugin-dir |
| 32 | + mountPath: /csi |
| 33 | + - name: registration-dir |
| 34 | + mountPath: /registration |
| 35 | + - name: gce-pd-driver |
| 36 | + # Don't change base image without changing pdImagePlaceholder in |
| 37 | + # test/k8s-integration/main.go |
| 38 | + image: gke.gcr.io/gcp-compute-persistent-disk-csi-driver-win |
| 39 | + args: |
| 40 | + - "--v=5" |
| 41 | + - "--endpoint=unix:/csi/csi.sock" |
| 42 | + volumeMounts: |
| 43 | + - name: kubelet-dir |
| 44 | + mountPath: C:\var\lib\kubelet |
| 45 | + mountPropagation: "None" |
| 46 | + - name: plugin-dir |
| 47 | + mountPath: C:\csi |
| 48 | + - name: csi-proxy-disk-pipe |
| 49 | + mountPath: \\.\pipe\csi-proxy-disk-v1alpha1 |
| 50 | + - name: csi-proxy-volume-pipe |
| 51 | + mountPath: \\.\pipe\csi-proxy-volume-v1alpha1 |
| 52 | + - name: csi-proxy-filesystem-pipe |
| 53 | + mountPath: \\.\pipe\csi-proxy-filesystem-v1alpha1 |
| 54 | + volumes: |
| 55 | + - name: csi-proxy-disk-pipe |
| 56 | + hostPath: |
| 57 | + path: \\.\pipe\csi-proxy-disk-v1alpha1 |
| 58 | + type: "" |
| 59 | + - name: csi-proxy-volume-pipe |
| 60 | + hostPath: |
| 61 | + path: \\.\pipe\csi-proxy-volume-v1alpha1 |
| 62 | + type: "" |
| 63 | + - name: csi-proxy-filesystem-pipe |
| 64 | + hostPath: |
| 65 | + path: \\.\pipe\csi-proxy-filesystem-v1alpha1 |
| 66 | + type: "" |
| 67 | + - name: registration-dir |
| 68 | + hostPath: |
| 69 | + path: \var\lib\kubelet\plugins_registry |
| 70 | + - name: kubelet-dir |
| 71 | + hostPath: |
| 72 | + path: \var\lib\kubelet |
| 73 | + - name: plugin-dir |
| 74 | + hostPath: |
| 75 | + path: \var\lib\kubelet\plugins\pd.csi.storage.gke.io |
0 commit comments