Skip to content

Commit

Permalink
fix: revert http-endpoint change on windows daemonset
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Apr 9, 2024
1 parent 321dbfc commit 9a3c9af
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Binary file modified charts/latest/azurefile-csi-driver-v1.29.4.tgz
Binary file not shown.
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
9 changes: 6 additions & 3 deletions deploy/csi-azurefile-node-windows.yaml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9a3c9af

Please sign in to comment.