update readiness check for mongo 3.2

This commit is contained in:
Ben Parees 2016-07-13 12:55:18 -04:00
parent 0902f1b02f
commit 3429120c3c

View file

@ -322,7 +322,7 @@
"timeoutSeconds": 1, "timeoutSeconds": 1,
"initialDelaySeconds": 3, "initialDelaySeconds": 3,
"exec": { "exec": {
"command": [ "/bin/sh", "-i", "-c", "mongostat --host 127.0.0.1 -u admin -p ${DATABASE_ADMIN_PASSWORD} -n 1 --noheaders"] "command": [ "/bin/sh", "-i", "-c", "mongo 127.0.0.1:27017/$MONGODB_DATABASE -u $MONGODB_USER -p $MONGODB_PASSWORD --eval=\"quit()\""]
} }
}, },
"livenessProbe": { "livenessProbe": {