Merge pull request #40713 from mml/force-new-cluster

Automatic merge from submit-queue (batch tested with PRs 40392, 39242, 40579, 40628, 40713)

Add --force-new-cluster when running etcd for migrations.

This is required to avoid etcd trying to create quorum during
migrations.

Might fix #40110
This commit is contained in:
Kubernetes Submit Queue 2017-01-31 01:16:56 -08:00 committed by GitHub
commit 499bab1b99

View File

@ -120,6 +120,7 @@ start_etcd() {
${ETCD_CMD} \
--name="etcd-$(hostname)" \
--debug \
--force-new-cluster \
--data-dir=${DATA_DIRECTORY} \
--listen-client-urls http://127.0.0.1:${ETCD_PORT} \
--advertise-client-urls http://127.0.0.1:${ETCD_PORT} \