k3s/cluster/addons/dns/kube2sky
Vishnu Kannan e521b3f1af Updated kube2sky to use the controller framework.
Refactored the code a bit to make it easy for future enhancements and
unit testing.
Tested the change manually on a kube node with and without kubeConfig based tokens.
2015-05-07 14:40:44 -07:00
..
Dockerfile Move DNS from contrib to cluster/addons 2015-01-05 12:32:35 -08:00
Makefile Updated kube2sky to use the controller framework. 2015-05-07 14:40:44 -07:00
README.md Crash kube2sky after repeated etcd mutation failures. 2015-03-05 08:31:14 +01:00
kube2sky.go Updated kube2sky to use the controller framework. 2015-05-07 14:40:44 -07:00

README.md

kube2sky

==============

A bridge between Kubernetes and SkyDNS. This will watch the kubernetes API for changes in Services and then publish those changes to SkyDNS through etcd.

For now, this is expected to be run in a pod alongside the etcd and SkyDNS containers.

Namespaces

Kubernetes namespaces become another level of the DNS hierarchy. See the description of -domain below.

Flags

-domain: Set the domain under which all DNS names will be hosted. For example, if this is set to kubernetes.io, then a service named "nifty" in the "default" namespace would be exposed through DNS as "nifty.default.kubernetes.io".

-verbose: Log additional information.

'-etcd_mutation_timeout': For how long the application will keep retrying etcd mutation (insertion or removal of a dns entry) before giving up and crashing.