mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
hack/local-up-cluster.sh: fix API_PORT
commit kubernetes/kubernetes@cfc2b33 causes a local cluster to not come up because it sets the default insecure port to 8080, which is no longer valid Signed-off-by: Peter Hunt <pehunt@redhat.com>
This commit is contained in:
parent
26c8ce57a5
commit
174548659f
@ -207,7 +207,7 @@ fi
|
||||
# Shut down anyway if there's an error.
|
||||
set +e
|
||||
|
||||
API_PORT=${API_PORT:-8080}
|
||||
API_PORT=${API_PORT:-0}
|
||||
API_SECURE_PORT=${API_SECURE_PORT:-6443}
|
||||
|
||||
# WARNING: For DNS to work on most setups you should export API_HOST as the docker0 ip address,
|
||||
|
Loading…
Reference in New Issue
Block a user