Add configurable ETCD parameters to aux cluster
Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Change-Id: I77373c223c6ea723ee31fe51e6fb4a9e84be03f7
This commit is contained in:
parent
f0b1376330
commit
aeb1186a66
|
@ -111,6 +111,16 @@ data:
|
||||||
# before the auxiliary members will self-terminate
|
# before the auxiliary members will self-terminate
|
||||||
auxiliary_threshold:
|
auxiliary_threshold:
|
||||||
type: integer
|
type: integer
|
||||||
|
heartbeat_interval:
|
||||||
|
type: integer
|
||||||
|
election_timeout:
|
||||||
|
type: integer
|
||||||
|
snapshot_count:
|
||||||
|
type: integer
|
||||||
|
cipher_suites:
|
||||||
|
type: string
|
||||||
|
gomaxprocs:
|
||||||
|
type: integer
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
|
||||||
files:
|
files:
|
||||||
|
|
|
@ -53,6 +53,16 @@
|
||||||
value: $(ETCD_CERT_FILE)
|
value: $(ETCD_CERT_FILE)
|
||||||
- name: ETCDCTL_KEY
|
- name: ETCDCTL_KEY
|
||||||
value: $(ETCD_KEY_FILE)
|
value: $(ETCD_KEY_FILE)
|
||||||
|
- name: ETCD_HEARTBEAT_INTERVAL
|
||||||
|
value: {{ config['Genesis:etcd.heartbeat_interval'] }}
|
||||||
|
- name: ETCD_ELECTION_TIMEOUT
|
||||||
|
value: {{ config['Genesis:etcd.election_timeout'] }}
|
||||||
|
- name: ETCD_SNAPSHOT_COUNT
|
||||||
|
value: {{ config['Genesis:etcd.election_timeout'] }}
|
||||||
|
- name: ETCD_CIPHER_SUITES
|
||||||
|
value: {{ config['Genesis:etcd.cipher_suites'] }}
|
||||||
|
- name: GOMAXPROCS
|
||||||
|
value: {{ config['Genesis:etcd.gomaxprocs'] }}
|
||||||
ports:
|
ports:
|
||||||
- name: client
|
- name: client
|
||||||
containerPort: {{ client_port }}
|
containerPort: {{ client_port }}
|
||||||
|
|
|
@ -38,6 +38,13 @@ data:
|
||||||
etcd: quay.io/coreos/etcd:v3.5.11
|
etcd: quay.io/coreos/etcd:v3.5.11
|
||||||
etcdctl: quay.io/airshipit/porthole-etcdctl-utility:latest-ubuntu_focal
|
etcdctl: quay.io/airshipit/porthole-etcdctl-utility:latest-ubuntu_focal
|
||||||
scheduler: registry.k8s.io/kube-scheduler-amd64:v1.29.2
|
scheduler: registry.k8s.io/kube-scheduler-amd64:v1.29.2
|
||||||
|
etcd:
|
||||||
|
heartbeat_interval: 100
|
||||||
|
election_timeout: 1000
|
||||||
|
snapshot_count: 5000
|
||||||
|
cipher_suites: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
|
||||||
|
gomaxprocs: 20
|
||||||
|
|
||||||
files:
|
files:
|
||||||
- path: /var/lib/anchor/calico-etcd-bootstrap
|
- path: /var/lib/anchor/calico-etcd-bootstrap
|
||||||
content: "# placeholder for triggering calico etcd bootstrapping"
|
content: "# placeholder for triggering calico etcd bootstrapping"
|
||||||
|
|
|
@ -38,6 +38,13 @@ data:
|
||||||
etcdctl: ${IMAGE_ETCDCTL}
|
etcdctl: ${IMAGE_ETCDCTL}
|
||||||
scheduler: ${IMAGE_SCHEDULER}
|
scheduler: ${IMAGE_SCHEDULER}
|
||||||
enable_operator: false
|
enable_operator: false
|
||||||
|
etcd:
|
||||||
|
auxiliary_threshold: 3
|
||||||
|
heartbeat_interval: 100
|
||||||
|
election_timeout: 1000
|
||||||
|
snapshot_count: 5000
|
||||||
|
cipher_suites: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA
|
||||||
|
gomaxprocs: 20
|
||||||
files:
|
files:
|
||||||
- path: /var/lib/anchor/calico-etcd-bootstrap
|
- path: /var/lib/anchor/calico-etcd-bootstrap
|
||||||
content: ""
|
content: ""
|
||||||
|
|
Loading…
Reference in New Issue