diff --git a/charts/latest/azurefile-csi-driver-v1.28.9.tgz b/charts/latest/azurefile-csi-driver-v1.28.9.tgz index 3ca0e8a076..d49d0d17c5 100644 Binary files a/charts/latest/azurefile-csi-driver-v1.28.9.tgz and b/charts/latest/azurefile-csi-driver-v1.28.9.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 1344c41b8f..9a193798eb 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 93081f68f8..cca8589435 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