Merge pull request #24273 from gtank/local-up-advertise

Automatic merge from submit-queue

hack: specify --advertise-address in hack/local-up-cluster.sh

This fixes the bug where the script fails to launch an apiserver on a
machine without active networking (issue #24272).
This commit is contained in:
k8s-merge-robot 2016-04-16 07:31:14 -07:00
commit e87d8bacc4

View File

@ -266,6 +266,7 @@ function start_apiserver {
--admission-control="${ADMISSION_CONTROL}" \
--insecure-bind-address="${API_HOST}" \
--insecure-port="${API_PORT}" \
--advertise-address="${API_HOST}" \
--etcd-servers="http://127.0.0.1:4001" \
--service-cluster-ip-range="10.0.0.0/24" \
--cors-allowed-origins="${API_CORS_ALLOWED_ORIGINS}" >"${APISERVER_LOG}" 2>&1 &