Merge pull request #9383 from brendandburns/liveness

Add liveness checks to the controller-manager and scheduler.
This commit is contained in:
Abhi Shah 2015-06-10 14:44:12 -07:00
commit 53fa4e1366
2 changed files with 16 additions and 0 deletions

View File

@ -45,6 +45,14 @@
"-c",
"/usr/local/bin/kube-controller-manager {{params}} 1>>/var/log/kube-controller-manager.log 2>&1"
],
"livenessProbe": {
"httpGet": {
"path": "/healthz",
"port": 10252
},
"initialDelaySeconds": 15,
"timeoutSeconds": 15
},
"volumeMounts": [
{{cloud_config_mount}}
{ "name": "srvkube",

View File

@ -13,6 +13,14 @@
"-c",
"/usr/local/bin/kube-scheduler --master=127.0.0.1:8080 {{pillar['log_level']}} 1>>/var/log/kube-scheduler.log 2>&1"
],
"livenessProbe": {
"httpGet": {
"path": "/healthz",
"port": 10251
},
"initialDelaySeconds": 15,
"timeoutSeconds": 15
},
"volumeMounts": [
{
"name": "logfile",