Fix a bunch of places where the -machines flag was still attached to the apiserver.

This commit is contained in:
Brendan Burns
2014-11-01 20:38:45 -07:00
parent bbb66af3db
commit 8d34231381
17 changed files with 36 additions and 27 deletions

View File

@@ -13,9 +13,6 @@ KUBE_API_PORT="--port=8080"
# How the replication controller and scheduler find the apiserver
KUBE_MASTER="--master=127.0.0.1:8080"
# Comma seperated list of minions
KUBELET_ADDRESSES="--machines=127.0.0.1"
# Port minions listen on
KUBELET_PORT="--kubelet_port=10250"

View File

@@ -3,5 +3,8 @@
# defaults from config and apiserver should be adequate
# Comma seperated list of minions
KUBELET_ADDRESSES="--machines=127.0.0.1"
# Add you own!
KUBE_CONTROLLER_MANAGER_ARGS=""

View File

@@ -12,7 +12,6 @@ ExecStart=/usr/bin/kube-apiserver \
${KUBE_ETCD_SERVERS} \
${KUBE_API_ADDRESS} \
${KUBE_API_PORT} \
${KUBELET_ADDRESSES} \
${KUBELET_PORT} \
${KUBE_ALLOW_PRIV} \
${KUBE_SERVICE_ADDRESSES} \

View File

@@ -10,6 +10,7 @@ User=kube
ExecStart=/usr/bin/kube-controller-manager \
${KUBE_LOGTOSTDERR} \
${KUBE_LOG_LEVEL} \
${KUBELET_ADDRESSES} \
${KUBE_MASTER} \
${KUBE_CONTROLLER_MANAGER_ARGS}
Restart=on-failure