We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed8c03c + f208819 commit 8fb7fe1Copy full SHA for 8fb7fe1
deploy/kubernetes/base/node.yaml
@@ -20,6 +20,10 @@ spec:
20
- "--v=5"
21
- "--csi-address=$(ADDRESS)"
22
- "--kubelet-registration-path=/var/lib/kubelet/plugins/com.google.csi.gcepd/csi.sock"
23
+ lifecycle:
24
+ preStop:
25
+ exec:
26
+ command: ["/bin/sh", "-c", "rm -rf /registration/com.google.csi.gcepd /registration/com.google.csi.gcepd-reg.sock"]
27
env:
28
- name: ADDRESS
29
value: /var/lib/kubelet/plugins/com.google.csi.gcepd/csi.sock
0 commit comments