update readiness check for mongo 3.2
This commit is contained in:
parent
0902f1b02f
commit
3429120c3c
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@
|
|||
"timeoutSeconds": 1,
|
||||
"initialDelaySeconds": 3,
|
||||
"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": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue