mirror of https://github.com/k3s-io/k3s
Merge pull request #37069 from zreigz/fix-etcd-for-ubuntu
Automatic merge from submit-queue Fix etcd unavailable error when performing kube-up.sh for Ubuntu prov… **What this PR does / why we need it**: This PR fixes 'etcd unavailable error' when performing kube-up.sh for Ubuntu provider **Which issue this PR fixes** fixes: https://github.com/kubernetes/kubernetes/issues/36340pull/6/head
commit
907d132087
|
@ -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