Configure minions properly

A previus commit introduced a regression which caused kubectl not
to configure properly.  This results in kube minions staying in the
NotReady state and this script not completing execution.

Change-Id: I336c21ac2660c4c19c401b8ecbd8015cc44dbfdd
Closes-Bug: #1453470
This commit is contained in:
Steven Dake 2015-05-09 17:38:53 -07:00
parent 2704710e28
commit 8d7e4a4ab4
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ sed -i '
sed -i '
/^KUBELET_ADDRESS=/ s/=.*/="--address=0.0.0.0"/
/^KUBELET_HOSTNAME=/ s/=.*/="--hostname_override='"$myip"'"/
/^KUBELET_API_SERVER=/ s/=.*/="--api_servers='http:\/\/"$KUBE_MASTER_IP"':8080"/
/^KUBELET_API_SERVER=/ s|=.*|="--api_servers=http://'"$KUBE_MASTER_IP"':8080"|
' /etc/kubernetes/kubelet
sed -i '