Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

[WIP] Deis-Skydns / Dns Service Discovery #2730

Closed
wants to merge 4 commits into from
Closed

[WIP] Deis-Skydns / Dns Service Discovery #2730

wants to merge 4 commits into from

Conversation

PierreKircher
Copy link
Contributor

basic unit + deisctl integration to be started as part of platform install

ill squash the commits later on

  • create the skydns service as global unit
  • add it to install plattform
  • have the registry register it self inside skdyns
  • change the fleet scheduler to work with the dns based registry
  • change the fleet scheduler to publish the app as local dns
  • change nginx templates use dns for the reverse proxy

jenkins please !

@deis-bot
Copy link

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

@PierreKircher PierreKircher changed the title Deis-skydns WIP Deis-Skydns Dec 11, 2014
@PierreKircher PierreKircher changed the title WIP Deis-Skydns WIP Deis-Skydns / Dns service discovery Dec 11, 2014
@PierreKircher PierreKircher changed the title WIP Deis-Skydns / Dns service discovery WIP Deis-Skydns / Dns Service Discovery Dec 11, 2014
@PierreKircher PierreKircher changed the title WIP Deis-Skydns / Dns Service Discovery [WIP] Deis-Skydns / Dns Service Discovery Dec 11, 2014
@mboersma
Copy link
Member

Jenkins, add to whitelist.

@bacongobbler
Copy link
Member

Since it's not integrated with Deis (yet), should we keep this out of deisctl install/start platform until we start using it? We could still keep it in refresh-units, but just wondering if we should hold off on the platform install.

EDIT: or maybe not?

@gabrtv
Copy link
Member

gabrtv commented Dec 11, 2014

@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.

@PierreKircher
Copy link
Contributor Author

its 1 pr out of many .. dns allows to get a rid of alot confd work since skydns does internal RR
example the DB or the registry is the best example ..

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
n1.router.deis.local n2.router.deis.local .. and so on if you ping router.deis.local its RR between all A Records

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 :

  • simplicity via battle proven techologie ( DNS is here since quite some time now )
  • the knowledge isolation of containers

im open for all critics / ideas .. so let me know if something is unclear

@PierreKircher
Copy link
Contributor Author

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 ..
so dns system / storage plane / rest ..

and we factor confd out on the fly where it fits.

  • reverse proxy in nginx is as simple as passing in the local dns not all the instances anymore

@mattapperson
Copy link
Contributor

This relates to #2715

@johanneswuerbach
Copy link
Contributor

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.

@gabrtv gabrtv mentioned this pull request Dec 12, 2014
@PierreKircher PierreKircher deleted the deis-skydns branch December 17, 2014 18:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants