kube-up.sh centos provider support create a HA cluster

Fix: cannot get default master advertise address correctly

Set default value of NUM_MASTERS and NUM_NODES by MASTERS and NODES themself

Code cleanup and documented

Using runtime reconfiguration for etcd cluster instead of etcd discovery

Add exceptions for verify-flags
This commit is contained in:
shawyeok
2017-01-05 16:43:13 +08:00
parent f605bfda61
commit 78170bf113
9 changed files with 202 additions and 54 deletions

View File

@@ -5,6 +5,8 @@ cluster/aws/templates/configure-vm-aws.sh: api_servers: '${API_SERVERS}'
cluster/aws/templates/configure-vm-aws.sh: env-to-grains "hostname_override"
cluster/aws/templates/configure-vm-aws.sh: env-to-grains "runtime_config"
cluster/aws/templates/configure-vm-aws.sh: kubelet_api_servers: '${KUBELET_APISERVER}'
cluster/centos/config-default.sh: etcd_servers="${prefix}http://${master_ip}:2379"
cluster/centos/config-default.sh: local etcd_servers=""
cluster/centos/util.sh: local node_ip=${node#*@}
cluster/gce/configure-vm.sh: advertise_address: '${EXTERNAL_IP}'
cluster/gce/configure-vm.sh: api_servers: '${KUBERNETES_MASTER_NAME}'