Add a second auxiliary etcd server for bootstrap

This adds stability to etcd and enables cleaner waiting by tiller during
deployment of the Kubernetes apiserver and etcd.

* Adds second auxiliary etcd process.
* Enables "sequenced" for remaining ChartGroups.
* Removes unused disks from test VMs.
* Add readiness and liveness probes for kubernetes components

Change-Id: I6f83bb912f76b0ec35503723b417ba45d69e39c5
This commit is contained in:
Mark Burnett
2018-04-16 11:09:55 -05:00
parent 75d95c775f
commit 8bbb84af97
18 changed files with 183 additions and 64 deletions

View File

@@ -1,6 +1,6 @@
- name: data
- name: data-{{ etcd_name }}
hostPath:
path: /var/lib/etcd/{{ etcd_name }}
- name: pki
path: /var/lib/etcd/{{ volume_name }}
- name: pki-{{ etcd_name }}
hostPath:
path: /etc/genesis/etcd/pki

View File

@@ -1,4 +1,4 @@
- name: etcd
- name: etcd-{{ etcd_name }}
image: {{ config['Genesis:images.kubernetes.etcd'] }}
env:
- name: ETCD_NAME
@@ -38,7 +38,7 @@
- name: ETCD_INITIAL_CLUSTER_STATE
value: new
- name: ETCD_INITIAL_CLUSTER
value: genesis=https://{{ config['Genesis:ip'] }}:2380,auxiliary=https://{{ config['Genesis:ip'] }}:12380
value: {{ config['Genesis:hostname'] }}=https://{{ config['Genesis:ip'] }}:2380,auxiliary-0=https://{{ config['Genesis:ip'] }}:12380,auxiliary-1=https://{{ config['Genesis:ip'] }}:22380
- name: ETCDCTL_API
value: '3'
- name: ETCDCTL_DIAL_TIMEOUT
@@ -57,7 +57,7 @@
- name: peer
containerPort: {{ peer_port }}
volumeMounts:
- name: data
- name: data-{{ etcd_name }}
mountPath: /var/lib/etcd
- name: pki
- name: pki-{{ etcd_name }}
mountPath: /etc/etcd/pki