Skip to content

Commit 82291d8

Browse files
committed
feat: use new restricted liveness probe endpoint on v4.6.0
1 parent fadfc73 commit 82291d8

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed
35 Bytes
Binary file not shown.

charts/v4.6.0/csi-driver-nfs/templates/csi-nfs-controller.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ spec:
100100
args:
101101
- --csi-address=/csi/csi.sock
102102
- --probe-timeout=3s
103-
- --health-port={{ .Values.controller.livenessProbe.healthPort }}
103+
- --http-endpoint={{ .Values.controller.livenessProbe.host }}:{{ .Values.controller.livenessProbe.healthPort }}
104104
- --v=2
105105
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
106106
volumeMounts:
@@ -137,15 +137,12 @@ spec:
137137
fieldPath: spec.nodeName
138138
- name: CSI_ENDPOINT
139139
value: unix:///csi/csi.sock
140-
ports:
141-
- containerPort: {{ .Values.controller.livenessProbe.healthPort }}
142-
name: healthz
143-
protocol: TCP
144140
livenessProbe:
145141
failureThreshold: 5
146142
httpGet:
143+
host: {{ .Values.controller.livenessProbe.host }}
147144
path: /healthz
148-
port: healthz
145+
port: {{ .Values.controller.livenessProbe.healthPort }}
149146
initialDelaySeconds: 30
150147
timeoutSeconds: 10
151148
periodSeconds: 30

charts/v4.6.0/csi-driver-nfs/templates/csi-nfs-node.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
args:
5353
- --csi-address=/csi/csi.sock
5454
- --probe-timeout=3s
55-
- --health-port={{ .Values.node.livenessProbe.healthPort }}
55+
- --http-endpoint={{ .Values.node.livenessProbe.host }}:{{ .Values.node.livenessProbe.healthPort }}
5656
- --v=2
5757
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
5858
volumeMounts:

charts/v4.6.0/csi-driver-nfs/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ controller:
5353
runOnMaster: false
5454
runOnControlPlane: false
5555
livenessProbe:
56+
host: localhost
5657
healthPort: 29652
5758
logLevel: 5
5859
workingMountDir: /tmp
@@ -103,6 +104,7 @@ node:
103104
maxUnavailable: 1
104105
logLevel: 5
105106
livenessProbe:
107+
host: localhost
106108
healthPort: 29653
107109
affinity: {}
108110
nodeSelector: {}

0 commit comments

Comments
 (0)