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
changes/49/177449/2
Steven Dake 8 years ago
parent fa638da46a
commit 537369f654
  1. 2
      magnum/templates/heat-kubernetes/fragments/configure-kubernetes-minion.sh

@ -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 '

Loading…
Cancel
Save