[WIP] Deis-Skydns / Dns Service Discovery #2730
Conversation
Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it. |
Jenkins, add to whitelist. |
Since it's not integrated with Deis (yet), should we keep this out of EDIT: or maybe not? |
@bacongobbler i think the idea is that we install/start it in this PR (get the infrastructure in place) and then start incorporating it in Deis components in subsequent PRs. Otherwise I'm not sure what the purpose of this PR is. |
its 1 pr out of many .. dns allows to get a rid of alot confd work since skydns does internal RR if you need to connect to the registry you need to lookup inside etcd and get that out .. that requires the container to know etcd / confd .. in terms of a self updating dns .. its as simple as builder.deis.local so i see a huge value in terms of factoring confd out + internal service discovery on a per app based communication without using the outside net (bandwith / latency) .. since it could be use to connect microservices internaly via dns + env vars ( and keep that env var static ) so key aspects are :
im open for all critics / ideas .. so let me know if something is unclear |
it need to be started up first if we want to use it for ceph ( as it depends on hostnames ) .. we could use simple dns for that as well .. and we factor confd out on the fly where it fits.
|
This relates to #2715 |
Yeah, this would also allow round-robin dns when running multiple registries or soon to come gateways and bring deis closer to be fully HA. |
basic unit + deisctl integration to be started as part of platform install
ill squash the commits later on
jenkins please !