Add liveness and readiness probe

This commit is contained in:
Michal Fojtik 2016-02-29 17:12:14 +01:00
parent 933ca6638c
commit 6015715f91
2 changed files with 57 additions and 6 deletions

View file

@ -167,6 +167,27 @@
"containerPort": 8080
}
],
"readinessProbe": {
"timeoutSeconds": 3,
"initialDelaySeconds": 3,
"httpGet": {
"path": "/",
"port": 8080
}
},
"livenessProbe": {
"timeoutSeconds": 3,
"initialDelaySeconds": 30,
"httpGet": {
"path": "/",
"port": 8080
}
},
"resources": {
"limits": {
"memory": "${MEMORY_LIMIT}"
}
},
"env": [
{
"name": "DATABASE_SERVICE_NAME",