feat: use new restricted liveness probe endpoint on kubectl install
This commit is contained in:
parent
a8a69e6c82
commit
048b943188
@ -81,7 +81,7 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- --csi-address=/csi/csi.sock
|
- --csi-address=/csi/csi.sock
|
||||||
- --probe-timeout=3s
|
- --probe-timeout=3s
|
||||||
- --health-port=29652
|
- --http-endpoint=localhost:29652
|
||||||
- --v=2
|
- --v=2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
@ -111,15 +111,12 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: unix:///csi/csi.sock
|
value: unix:///csi/csi.sock
|
||||||
ports:
|
|
||||||
- containerPort: 29652
|
|
||||||
name: healthz
|
|
||||||
protocol: TCP
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
httpGet:
|
httpGet:
|
||||||
|
host: localhost
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: healthz
|
port: 29652
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
|
|||||||
@ -34,7 +34,7 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- --csi-address=/csi/csi.sock
|
- --csi-address=/csi/csi.sock
|
||||||
- --probe-timeout=3s
|
- --probe-timeout=3s
|
||||||
- --health-port=29653
|
- --http-endpoint=localhost:29653
|
||||||
- --v=2
|
- --v=2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
@ -95,15 +95,12 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: unix:///csi/csi.sock
|
value: unix:///csi/csi.sock
|
||||||
ports:
|
|
||||||
- containerPort: 29653
|
|
||||||
name: healthz
|
|
||||||
protocol: TCP
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
httpGet:
|
httpGet:
|
||||||
|
host: localhost
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: healthz
|
port: 29653
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
|
|||||||
@ -81,7 +81,7 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- --csi-address=/csi/csi.sock
|
- --csi-address=/csi/csi.sock
|
||||||
- --probe-timeout=3s
|
- --probe-timeout=3s
|
||||||
- --health-port=29652
|
- --http-endpoint=localhost:29652
|
||||||
- --v=2
|
- --v=2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
@ -111,15 +111,12 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: unix:///csi/csi.sock
|
value: unix:///csi/csi.sock
|
||||||
ports:
|
|
||||||
- containerPort: 29652
|
|
||||||
name: healthz
|
|
||||||
protocol: TCP
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
httpGet:
|
httpGet:
|
||||||
|
host: localhost
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: healthz
|
port: 29652
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
|
|||||||
@ -34,7 +34,7 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- --csi-address=/csi/csi.sock
|
- --csi-address=/csi/csi.sock
|
||||||
- --probe-timeout=3s
|
- --probe-timeout=3s
|
||||||
- --health-port=29653
|
- --http-endpoint=localhost:29653
|
||||||
- --v=2
|
- --v=2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
@ -95,15 +95,12 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: unix:///csi/csi.sock
|
value: unix:///csi/csi.sock
|
||||||
ports:
|
|
||||||
- containerPort: 29653
|
|
||||||
name: healthz
|
|
||||||
protocol: TCP
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
httpGet:
|
httpGet:
|
||||||
|
host: localhost
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: healthz
|
port: 29653
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user