diff --git a/charts/latest/azurefile-csi-driver-v1.29.4.tgz b/charts/latest/azurefile-csi-driver-v1.29.4.tgz index e1f3cb9909..6af6a29839 100644 Binary files a/charts/latest/azurefile-csi-driver-v1.29.4.tgz and b/charts/latest/azurefile-csi-driver-v1.29.4.tgz differ diff --git a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml index ed91179206..f171603d73 100644 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml @@ -73,7 +73,7 @@ spec: args: - "--csi-address=$(CSI_ENDPOINT)" - "--probe-timeout=3s" - - "--http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }}" + - "--health-port={{ .Values.node.livenessProbe.healthPort }}" - "--v=2" env: - name: CSI_ENDPOINT @@ -138,12 +138,15 @@ spec: - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" - "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}" + ports: + - containerPort: {{ .Values.node.livenessProbe.healthPort }} + name: healthz + protocol: TCP livenessProbe: failureThreshold: 5 httpGet: - host: localhost path: /healthz - port: {{ .Values.controller.livenessProbe.healthPort }} + port: healthz initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/csi-azurefile-node-windows.yaml b/deploy/csi-azurefile-node-windows.yaml index 072cb87912..5efbf26c71 100644 --- a/deploy/csi-azurefile-node-windows.yaml +++ b/deploy/csi-azurefile-node-windows.yaml @@ -46,7 +46,7 @@ spec: args: - --csi-address=$(CSI_ENDPOINT) - --probe-timeout=3s - - --http-endpoint=localhost:29613 + - --health-port=29613 - --v=2 env: - name: CSI_ENDPOINT @@ -101,12 +101,15 @@ spec: - --endpoint=$(CSI_ENDPOINT) - --nodeid=$(KUBE_NODE_NAME) - --metrics-address="0.0.0.0:29615" + ports: + - containerPort: 29613 + name: healthz + protocol: TCP livenessProbe: failureThreshold: 5 httpGet: - host: localhost path: /healthz - port: 29613 + port: healthz initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30