modfiy http-address to http-endpoint, modfiy timeoutSeconds 3s
@@ -98,7 +98,7 @@ spec:
- /csi-node-driver-registrar
- --csi-address={{ .Values.node.kubeletWorkDirectory }}/plugins/{{ include "topolvm.pluginName" . }}/node/csi-topolvm.sock
- --kubelet-registration-path={{ .Values.node.kubeletWorkDirectory }}/plugins/{{ include "topolvm.pluginName" . }}/node/csi-topolvm.sock
- - --health-port=9809
+ - --http-endpoint=:9809
ports:
- containerPort: 9809
name: healthz
@@ -106,8 +106,9 @@ spec:
httpGet:
path: /healthz
port: healthz
- initialDelaySeconds: 5
- timeoutSeconds: 5
+ failureThreshold: 3
+ initialDelaySeconds: 10
+ timeoutSeconds: 3
lifecycle:
preStop:
exec:
