Added setting etcd read quorum flag.

Added setting etcd read quorum flag in kube-up scripts. Required for HA master.
This commit is contained in:
Jerzy Szczepkowski
2016-11-24 16:14:24 +01:00
parent e801fcfc4a
commit 02542cae06
8 changed files with 21 additions and 2 deletions

View File

@@ -754,6 +754,11 @@ EOF
if [ -n "${INITIAL_ETCD_CLUSTER:-}" ]; then
cat >>$file <<EOF
INITIAL_ETCD_CLUSTER: $(yaml-quote ${INITIAL_ETCD_CLUSTER})
EOF
fi
if [ -n "${ETCD_QUORUM_READ:-}" ]; then
cat >>$file <<EOF
ETCD_QUORUM_READ: $(yaml-quote ${ETCD_QUORUM_READ})
EOF
fi