kops/dns-controller
Justin Santa Barbara 9c1ef822ab Merge pull request #2686 from rk295/rk-dns-controller-doc
Trivial doc tidying.
2017-07-13 23:13:06 -04:00
..
cmd/dns-controller gossipdns: More comments and better error handling 2017-04-25 14:00:30 -04:00
docs fixing up the line length 2017-06-08 11:00:33 +01:00
pkg Code changes for 1.7 2017-07-02 13:10:28 -04:00
README.md Keeping this file <=72 2017-06-08 11:06:56 +01:00

README.md

dns-controller

dns-controller creates DNS records.

In the bring-up of a new cluster, protokube has already ensured that we have an etcd cluster and an apiserver. It also sets up DNS records for the etcd nodes (this is a much simpler problem, because we have a 1:1 mapping from an etcd node to a DNS name.)

However, none of the nodes can reach the api server to register. Nor can end-users reach the API. In future we might expose the API server as a normal service via Type=LoadBalancer or via a normal Ingress, but for now we just expose it via DNS.

The dns-controller recognizes annotations on nodes.

  • dns.alpha.kubernetes.io/external will set up records for accessing the resource externally
  • dns.alpha.kubernetes.io/internal will set up records for accessing the resource internally

When added on Service controllers:

  • dns.alpha.kubernetes.io/external creates a Route53 A record with public IPs of all the nodes
  • dns.alpha.kubernetes.io/internal creates a Route53 A record with private IPs of all the nodes

The syntax is a comma separated list of fully qualified domain names.