Commit c77e8004 authored by CJ Cullen's avatar CJ Cullen

Add liveness probe for master's etcd pod

parent 40ba1856
...@@ -21,6 +21,15 @@ ...@@ -21,6 +21,15 @@
"-c", "-c",
"/usr/local/bin/etcd --addr 127.0.0.1:4001 --bind-addr 127.0.0.1:4001 --data-dir /var/etcd/data 1>>/var/log/etcd.log 2>&1" "/usr/local/bin/etcd --addr 127.0.0.1:4001 --bind-addr 127.0.0.1:4001 --data-dir /var/etcd/data 1>>/var/log/etcd.log 2>&1"
], ],
"livenessProbe": {
"httpGet": {
"host": "127.0.0.1",
"port": 4001,
"path": "/health"
},
"initialDelaySeconds": 15,
"timeoutSeconds": 15
},
"ports":[ "ports":[
{ "name": "serverport", { "name": "serverport",
"containerPort": 2380, "containerPort": 2380,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment