From 6e1527ed0682fddb071f014ccae58ad3bb61b55e Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Sat, 1 Nov 2014 12:19:13 -0400 Subject: [PATCH] test-cmd.sh can fail if public IP not available test-cmd runs a 127.0.0.1 version of the apiservers, but does not set --public_address_override, which means it can fail on some systems (like Macs) which don't expose a bindable external port by default. Since reachability is not necessary for test-cmd.sh today, set public_address_override to 127.0.0.1 --- hack/test-cmd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/test-cmd.sh b/hack/test-cmd.sh index e1f8244a7d0..2682ea21647 100755 --- a/hack/test-cmd.sh +++ b/hack/test-cmd.sh @@ -69,6 +69,7 @@ wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: " # Start apiserver ${GO_OUT}/apiserver \ --address="127.0.0.1" \ + --public_address_override="127.0.0.1" \ --port="${API_PORT}" \ --etcd_servers="http://${ETCD_HOST}:${ETCD_PORT}" \ --kubelet_port=${KUBELET_PORT} \