imfreedom/k8s-cluster

Parents 31efc05ce9d2
Children 39317bc02501
Move minio's readiness/liveliness probes from a command to http. Refs INFRASTRUCTURE-12
--- a/50-data.imfreedom.org.yaml Sun May 03 01:58:33 2020 -0500
+++ b/50-data.imfreedom.org.yaml Sun May 03 02:48:42 2020 -0500
@@ -121,9 +121,15 @@
image: minio/minio:RELEASE.2020-05-01T22-19-14Z
imagePullPolicy: Always
livenessProbe:
- exec:
- command:
- - /usr/bin/healthcheck
+ httpGet:
+ path: /minio/health/live
+ port: 9000
+ scheme: HTTP
+ readinessProbe:
+ httpGet:
+ path: /minio/health/ready
+ port: 9000
+ scheme: HTTP
command:
- minio
- server