Capgemini / Apollo

:rocket: An open-source platform for cloud native applications based on Apache Mesos and Docker.
http://capgemini.github.io/devops/apollo/
MIT License
723 stars 105 forks source link

etcd_discovery_url is causing terraform to reprovision instances when it doesn't need to #675

Closed tayzlor closed 8 years ago

tayzlor commented 8 years ago

Steps to reproduce -

At the moment we are using a "small cluster" architecture for etcd (see https://coreos.com/os/docs/latest/cluster-architectures.html)

We should move to the "Production cluster" setup running the etcd central services only on the "master" nodes. This would mean we'd have a much more static setup (with either 3 or 5 masters) and allow the slaves to scale as they wish and join the discovery URL for the central etcd cluster. As a result size shouldn't be changing too frequently (unless the number of masters is changed - which is fine), which shouldn't cause terraform to taint resources as much circumventing this issue.