mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
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:
commit
e87d8bacc4
@ -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 &
|
||||
|
Loading…
Reference in New Issue
Block a user