Change minio liveness probe to use native httpGet instead of curl.

Fixes #12277
This commit is contained in:
Julio Morimoto 2023-11-03 14:05:58 -03:00 committed by Julio H Morimoto
parent e4b37307b7
commit 97ca361a6a
1 changed files with 3 additions and 5 deletions

View File

@ -46,11 +46,9 @@ spec:
image: minio/minio image: minio/minio
imagePullPolicy: "" imagePullPolicy: ""
livenessProbe: livenessProbe:
exec: httpGet:
command: path: /minio/health/live
- curl port: 9000
- -f
- http://localhost:9000/minio/health/live
failureThreshold: 3 failureThreshold: 3
periodSeconds: 30 periodSeconds: 30
timeoutSeconds: 20 timeoutSeconds: 20