mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Fix etcd unavailable error when performing kube-up.sh for Ubuntu provider
This commit is contained in:
parent
3b43ce8e5c
commit
88c92a823b
@ -224,7 +224,7 @@ function create-etcd-opts() {
|
||||
cat <<EOF > ~/kube/default/etcd
|
||||
ETCD_OPTS="\
|
||||
-name infra\
|
||||
-listen-client-urls http://127.0.0.1:4001,http://${1}:4001\
|
||||
--listen-client-urls=http://127.0.0.1:4001,http://${1}:4001\
|
||||
-advertise-client-urls http://${1}:4001"
|
||||
EOF
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user