mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
hack: fix local-cluster-up advertise_address default value
Fixes: 9fc1d61ab7
Signed-off-by: André Martins <aanm90@gmail.com>
This commit is contained in:
parent
354f003c34
commit
3dfd324987
@ -293,7 +293,7 @@ function start_apiserver {
|
|||||||
# is set to 127.0.0.1
|
# is set to 127.0.0.1
|
||||||
advertise_address=""
|
advertise_address=""
|
||||||
if [[ "${API_HOST}" != "127.0.0.1" ]]; then
|
if [[ "${API_HOST}" != "127.0.0.1" ]]; then
|
||||||
advertise_address="--advertise_address=${API_HOST}"
|
advertise_address="--advertise_address=${API_HOST_IP}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
APISERVER_LOG=/tmp/kube-apiserver.log
|
APISERVER_LOG=/tmp/kube-apiserver.log
|
||||||
|
@ -86,7 +86,7 @@ federation/deploy/config.json.sample: "cluster_name": "cluster3-kubernetes"
|
|||||||
federation/deploy/config.json.sample: "num_nodes": 3,
|
federation/deploy/config.json.sample: "num_nodes": 3,
|
||||||
federation/deploy/config.json.sample: "num_nodes": 3,
|
federation/deploy/config.json.sample: "num_nodes": 3,
|
||||||
federation/deploy/config.json.sample: "num_nodes": 3,
|
federation/deploy/config.json.sample: "num_nodes": 3,
|
||||||
hack/local-up-cluster.sh: advertise_address="--advertise_address=${API_HOST}"
|
hack/local-up-cluster.sh: advertise_address="--advertise_address=${API_HOST_IP}"
|
||||||
hack/local-up-cluster.sh: runtime_config="--runtime-config=${RUNTIME_CONFIG}"
|
hack/local-up-cluster.sh: runtime_config="--runtime-config=${RUNTIME_CONFIG}"
|
||||||
hack/local-up-cluster.sh: advertise_address=""
|
hack/local-up-cluster.sh: advertise_address=""
|
||||||
hack/local-up-cluster.sh: runtime_config=""
|
hack/local-up-cluster.sh: runtime_config=""
|
||||||
|
Loading…
Reference in New Issue
Block a user