feat: use new restricted liveness probe endpoint on kubectl install

This commit is contained in:
andyzhangx 2024-04-01 07:23:12 +00:00
parent a8a69e6c82
commit 048b943188
4 changed files with 12 additions and 24 deletions

View File

@ -81,7 +81,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --health-port=29652
- --http-endpoint=localhost:29652
- --v=2
volumeMounts:
- name: socket-dir
@ -111,15 +111,12 @@ spec:
fieldPath: spec.nodeName
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
ports:
- containerPort: 29652
name: healthz
protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
host: localhost
path: /healthz
port: healthz
port: 29652
initialDelaySeconds: 30
timeoutSeconds: 10
periodSeconds: 30

View File

@ -34,7 +34,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --health-port=29653
- --http-endpoint=localhost:29653
- --v=2
volumeMounts:
- name: socket-dir
@ -95,15 +95,12 @@ spec:
fieldPath: spec.nodeName
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
ports:
- containerPort: 29653
name: healthz
protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
host: localhost
path: /healthz
port: healthz
port: 29653
initialDelaySeconds: 30
timeoutSeconds: 10
periodSeconds: 30

View File

@ -81,7 +81,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --health-port=29652
- --http-endpoint=localhost:29652
- --v=2
volumeMounts:
- name: socket-dir
@ -111,15 +111,12 @@ spec:
fieldPath: spec.nodeName
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
ports:
- containerPort: 29652
name: healthz
protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
host: localhost
path: /healthz
port: healthz
port: 29652
initialDelaySeconds: 30
timeoutSeconds: 10
periodSeconds: 30

View File

@ -34,7 +34,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --health-port=29653
- --http-endpoint=localhost:29653
- --v=2
volumeMounts:
- name: socket-dir
@ -95,15 +95,12 @@ spec:
fieldPath: spec.nodeName
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
ports:
- containerPort: 29653
name: healthz
protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
host: localhost
path: /healthz
port: healthz
port: 29653
initialDelaySeconds: 30
timeoutSeconds: 10
periodSeconds: 30