cncf / demo

Demo of CNCF technologies
https://cncf.io
Apache License 2.0
77 stars 39 forks source link

Integrate CoreDNS #190

Open ronaldpetty opened 7 years ago

ronaldpetty commented 7 years ago

Need to update demo app to include CoreDNS usage.

namliz commented 7 years ago

I have a pretty interesting use in mind for CoreDNS and welcome opinions:

By convention, the demo uses a url of the format for discovery: masters.{clustername}.k8s, minions.{clustername}.k8s.

Right now the glue for that is a Route53 Private Hosted Zones and a Lambda on the side that listens to AutoScaling events and syncs to the Zone. It works great but obviously is not portable between clouds.

It might be possible to simplify this a bit with CoreDNS.

caniszczyk commented 7 years ago

cc: @miekg

miekg commented 7 years ago

@johnbelamaric

By convention, the demo uses a url of the format for discovery: masters.{clustername}.k8s, minions.{clustername}.k8s.

Is this actually using k8s? Or just using these names?

Right now the glue for that is a Route53 Private Hosted Zones and a Lambda on the side that listens to AutoScaling events and syncs to the Zone. It works great but obviously is not portable between clouds.

I think I'm parsing this correctly.... If you use CoreDNS with etcd (version 2 only atm) as a backend and somehow get the AutoScaling events to update the state in etcd, this should work.

vielmetti commented 6 years ago

This has been open since March; is there any progress of note?