Add http:// prefix to kubelet api server

The API server was not being set to use http:// as a prefix.  This
may result in a default behavior of using https which we don't yet
support.

Co-Authored-By: Andrew Melton <andrew.melton@rackspace.com>

Change-Id: I3f4e3a6bf3ff385152d91afdb7c69f98ce71b448
Partialy-implements: blueprint python-k8sclient
This commit is contained in:
Steven Dake 2015-04-24 13:52:10 -07:00
parent fa638da46a
commit 537369f654
1 changed files with 1 additions and 1 deletions

View File

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