Skip to content

Commit 7a5435f

Browse files
authored
Merge pull request #1814 from kubernetes-sigs/revert-win-http-endpoint
fix: revert http-endpoint change on windows daemonset
2 parents 45d52bf + cb4128c commit 7a5435f

File tree

9 files changed

+36
-18
lines changed

9 files changed

+36
-18
lines changed
13 Bytes
Binary file not shown.

charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ spec:
7373
args:
7474
- "--csi-address=$(CSI_ENDPOINT)"
7575
- "--probe-timeout=3s"
76-
- "--http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }}"
76+
- "--health-port={{ .Values.node.livenessProbe.healthPort }}"
7777
- "--v=2"
7878
env:
7979
- name: CSI_ENDPOINT
@@ -138,12 +138,15 @@ spec:
138138
- "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}"
139139
- "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}"
140140
- "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}"
141+
ports:
142+
- containerPort: {{ .Values.node.livenessProbe.healthPort }}
143+
name: healthz
144+
protocol: TCP
141145
livenessProbe:
142146
failureThreshold: 5
143147
httpGet:
144-
host: localhost
145148
path: /healthz
146-
port: {{ .Values.node.livenessProbe.healthPort }}
149+
port: healthz
147150
initialDelaySeconds: 30
148151
timeoutSeconds: 10
149152
periodSeconds: 30
13 Bytes
Binary file not shown.

charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ spec:
7373
args:
7474
- "--csi-address=$(CSI_ENDPOINT)"
7575
- "--probe-timeout=3s"
76-
- "--http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }}"
76+
- "--health-port={{ .Values.node.livenessProbe.healthPort }}"
7777
- "--v=2"
7878
env:
7979
- name: CSI_ENDPOINT
@@ -138,12 +138,15 @@ spec:
138138
- "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}"
139139
- "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}"
140140
- "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}"
141+
ports:
142+
- containerPort: {{ .Values.node.livenessProbe.healthPort }}
143+
name: healthz
144+
protocol: TCP
141145
livenessProbe:
142146
failureThreshold: 5
143147
httpGet:
144-
host: localhost
145148
path: /healthz
146-
port: {{ .Values.node.livenessProbe.healthPort }}
149+
port: healthz
147150
initialDelaySeconds: 30
148151
timeoutSeconds: 10
149152
periodSeconds: 30
12 Bytes
Binary file not shown.

charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ spec:
7373
args:
7474
- "--csi-address=$(CSI_ENDPOINT)"
7575
- "--probe-timeout=3s"
76-
- "--http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }}"
76+
- "--health-port={{ .Values.node.livenessProbe.healthPort }}"
7777
- "--v=2"
7878
env:
7979
- name: CSI_ENDPOINT
@@ -138,12 +138,15 @@ spec:
138138
- "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}"
139139
- "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}"
140140
- "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}"
141+
ports:
142+
- containerPort: {{ .Values.node.livenessProbe.healthPort }}
143+
name: healthz
144+
protocol: TCP
141145
livenessProbe:
142146
failureThreshold: 5
143147
httpGet:
144-
host: localhost
145148
path: /healthz
146-
port: {{ .Values.node.livenessProbe.healthPort }}
149+
port: healthz
147150
initialDelaySeconds: 30
148151
timeoutSeconds: 10
149152
periodSeconds: 30

deploy/csi-azurefile-node-windows.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
args:
4747
- --csi-address=$(CSI_ENDPOINT)
4848
- --probe-timeout=3s
49-
- --http-endpoint=localhost:29613
49+
- --health-port=29613
5050
- --v=2
5151
env:
5252
- name: CSI_ENDPOINT
@@ -101,12 +101,15 @@ spec:
101101
- --endpoint=$(CSI_ENDPOINT)
102102
- --nodeid=$(KUBE_NODE_NAME)
103103
- --metrics-address="0.0.0.0:29615"
104+
ports:
105+
- containerPort: 29613
106+
name: healthz
107+
protocol: TCP
104108
livenessProbe:
105109
failureThreshold: 5
106110
httpGet:
107-
host: localhost
108111
path: /healthz
109-
port: 29613
112+
port: healthz
110113
initialDelaySeconds: 30
111114
timeoutSeconds: 10
112115
periodSeconds: 30

deploy/v1.29.2/csi-azurefile-node-windows.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
args:
4747
- --csi-address=$(CSI_ENDPOINT)
4848
- --probe-timeout=3s
49-
- --http-endpoint=localhost:29613
49+
- --health-port=localhost:29613
5050
- --v=2
5151
env:
5252
- name: CSI_ENDPOINT
@@ -101,12 +101,15 @@ spec:
101101
- --endpoint=$(CSI_ENDPOINT)
102102
- --nodeid=$(KUBE_NODE_NAME)
103103
- --metrics-address="0.0.0.0:29615"
104+
ports:
105+
- containerPort: 29613
106+
name: healthz
107+
protocol: TCP
104108
livenessProbe:
105109
failureThreshold: 5
106110
httpGet:
107-
host: localhost
108111
path: /healthz
109-
port: 29613
112+
port: healthz
110113
initialDelaySeconds: 30
111114
timeoutSeconds: 10
112115
periodSeconds: 30

deploy/v1.30.0/csi-azurefile-node-windows.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
args:
4747
- --csi-address=$(CSI_ENDPOINT)
4848
- --probe-timeout=3s
49-
- --http-endpoint=localhost:29613
49+
- --health-port=localhost:29613
5050
- --v=2
5151
env:
5252
- name: CSI_ENDPOINT
@@ -101,12 +101,15 @@ spec:
101101
- --endpoint=$(CSI_ENDPOINT)
102102
- --nodeid=$(KUBE_NODE_NAME)
103103
- --metrics-address="0.0.0.0:29615"
104+
ports:
105+
- containerPort: 29613
106+
name: healthz
107+
protocol: TCP
104108
livenessProbe:
105109
failureThreshold: 5
106110
httpGet:
107-
host: localhost
108111
path: /healthz
109-
port: 29613
112+
port: healthz
110113
initialDelaySeconds: 30
111114
timeoutSeconds: 10
112115
periodSeconds: 30

0 commit comments

Comments
 (0)