Bootstrap etcd cluster by discovery_url

* Configure etcd to use a discovery_url to bootstrap the cluster.
* Users can provide discovery_url for individual bay.
* If discovery_url is not provided, it will be generated at runtime
  by using a discovery service.
* Admin can set the endpoint of the discovery service in config file.
  Default is the public etcd discovery service.

Change-Id: I9dd3a47f6d50ebadf74c4ee65701183f18c9d629
Partially-Implements: blueprint make-master-ha
This commit is contained in:
Hongbin Lu
2015-07-21 23:37:53 -04:00
parent 5f4a0ca6a7
commit bcdd70cf1e
7 changed files with 90 additions and 7 deletions

View File

@@ -252,6 +252,9 @@
# value)
#k8s_coreos_template_path = $pybasedir/templates/heat-kubernetes/kubecluster-coreos.yaml
# Url for etcd public discovery endpoint. (string value)
#etcd_discovery_service_endpoint_format = https://discovery.etcd.io/new?size=%(size)d
# coreos discovery token url. (string value)
# Deprecated group/name - [bay_heat]/discovery_token_url
#coreos_discovery_token_url = <None>