mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Set --name flag in etcd migration script
This commit is contained in:
parent
83d83ebb47
commit
2bccbafb6d
@ -117,7 +117,8 @@ start_etcd() {
|
|||||||
else
|
else
|
||||||
ETCDCTL_CMD="${ETCDCTL_CMD} --endpoints=http://127.0.0.1:${ETCD_PORT} put"
|
ETCDCTL_CMD="${ETCDCTL_CMD} --endpoints=http://127.0.0.1:${ETCD_PORT} put"
|
||||||
fi
|
fi
|
||||||
${ETCD_CMD} --data-dir=${DATA_DIRECTORY} \
|
${ETCD_CMD} --name="etcd-$(hostname)" \
|
||||||
|
--data-dir=${DATA_DIRECTORY} \
|
||||||
--listen-client-urls http://127.0.0.1:${ETCD_PORT} \
|
--listen-client-urls http://127.0.0.1:${ETCD_PORT} \
|
||||||
--advertise-client-urls http://127.0.0.1:${ETCD_PORT} \
|
--advertise-client-urls http://127.0.0.1:${ETCD_PORT} \
|
||||||
--listen-peer-urls http://127.0.0.1:${ETCD_PEER_PORT} \
|
--listen-peer-urls http://127.0.0.1:${ETCD_PEER_PORT} \
|
||||||
|
Loading…
Reference in New Issue
Block a user