Run etcd on localhost for all providers.

This commit is contained in:
Abhishek Shah
2015-04-03 14:00:44 -07:00
parent e49424785e
commit fb665ede4c
6 changed files with 4 additions and 25 deletions

View File

@@ -16,7 +16,7 @@ coreos:
ExecStart=/opt/kubernetes/bin/kube-apiserver \
--address=0.0.0.0 \
--port=8080 \
--etcd_servers=${etcd_servers} \
--etcd_servers=http://127.0.0.1:4001 \
--kubelet_port=10250 \
--portal_net=${PORTAL_NET}
Restart=always

View File

@@ -191,12 +191,6 @@ function kube-up {
readonly machines=$(join , "${KUBE_MINION_IP_ADDRESSES[@]}")
etcd_servers=( $MASTER_IP ${MINION_IPS[@]} )
for (( i=0; i<${#etcd_servers[@]}; i++ )); do
etcd_servers[$i]=http://${etcd_servers[$i]}:4001
done
etcd_servers=$(join , ${etcd_servers[@]})
local i
for (( i = 0 ; i <= $NUM_MINIONS ; i++ )); do
if [[ $i -eq $NUM_MINIONS ]]; then