Kube-proxy to use apiserver instead of etcd.

This commit is contained in:
Eric Tune 2015-03-09 11:32:16 -07:00
parent d98485242e
commit d9e89ca995
3 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ coreos:
ExecStartPre=/usr/bin/wget -N -P /opt/bin https://storage.googleapis.com/kubernetes-release/release/v0.11.0/bin/linux/amd64/kube-proxy
ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-proxy
ExecStart=/opt/bin/kube-proxy \
--etcd_servers=http://<master-private-ip>:4001 \
--master=http://<master-private-ip>:8080 \
--logtostderr=true
Restart=always
RestartSec=10

View File

@ -77,7 +77,7 @@ coreos:
ExecStartPre=/usr/bin/wget -N -P /opt/bin https://storage.googleapis.com/kubernetes-release/release/v0.11.0/bin/linux/amd64/kube-proxy
ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-proxy
ExecStart=/opt/bin/kube-proxy \
--etcd_servers=http://<master-private-ip>:4001 \
--master=<master-private-ip>:8080 \
--logtostderr=true
Restart=always
RestartSec=10

View File

@ -133,7 +133,7 @@ coreos:
ExecStartPre=/usr/bin/wget -N -P /opt/bin https://storage.googleapis.com/kubernetes-release/release/v0.11.0/bin/linux/amd64/kube-proxy
ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-proxy
ExecStart=/opt/bin/kube-proxy \
--etcd_servers=http://127.0.0.1:4001 \
--master=<master-private-ip>:8080 \
--logtostderr=true
Restart=always
RestartSec=10