add http health checks.

This commit is contained in:
Brendan Burns
2014-07-02 22:35:50 -07:00
parent 4b6ff69925
commit 41c6680943
8 changed files with 339 additions and 10 deletions

View File

@@ -5,11 +5,21 @@
"version": "v1beta1",
"id": "php",
"containers": [{
"name": "nginx",
"image": "dockerfile/nginx",
"ports": [{
"containerPort": 80,
"hostPort": 8080
}]
}],
"livenessProbe": {
"enabled": true,
"type": "http",
"initialDelaySeconds": 30,
"httpGet": {
"path": "/index.html",
"port": "8080"
}
}
}]
}
},