mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Merge pull request #41332 from jszczepkowski/etcd-cluster-state-16
Automatic merge from submit-queue Added configurable etcd initial-cluster-state to kube-up script. Added configurable etcd initial-cluster-state to kube-up script. This allows creation of multi-master cluster from scratch. This is a cherry-pick of #41320 from 1.5 branch. ```release-note Added configurable etcd initial-cluster-state to kube-up script. ```
This commit is contained in:
@@ -788,6 +788,11 @@ EOF
|
||||
if [ -n "${INITIAL_ETCD_CLUSTER:-}" ]; then
|
||||
cat >>$file <<EOF
|
||||
INITIAL_ETCD_CLUSTER: $(yaml-quote ${INITIAL_ETCD_CLUSTER})
|
||||
EOF
|
||||
fi
|
||||
if [ -n "${INITIAL_ETCD_CLUSTER_STATE:-}" ]; then
|
||||
cat >>$file <<EOF
|
||||
INITIAL_ETCD_CLUSTER_STATE: $(yaml-quote ${INITIAL_ETCD_CLUSTER_STATE})
|
||||
EOF
|
||||
fi
|
||||
if [ -n "${ETCD_QUORUM_READ:-}" ]; then
|
||||
|
Reference in New Issue
Block a user