k3s/cluster/addons/dns/kube2sky
combk8s 59b392c4fa Capitalize the first letter in some log files 2015-10-15 11:03:56 +08:00
..
Changelog Make kube2sky fall back on service accounts 2015-06-25 17:04:47 -07:00
Dockerfile Base the kube2sky container on busybox 2015-05-15 08:49:52 -07:00
Makefile rebuilt kube2sky to use v1 api. new image ver is 1.11 2015-07-06 12:32:23 -07:00
README.md Allow pods to have dns 2015-09-25 17:22:38 -04:00
RELEASES.md fix gendocs 2015-05-18 13:32:55 -04:00
kube2sky.go Capitalize the first letter in some log files 2015-10-15 11:03:56 +08:00
kube2sky_test.go Allow pods to have dns 2015-09-25 17:22:38 -04: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.svc.kubernetes.io".

-v: Set logging level

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

-etcd-server: The etcd server that is being used by skydns.

-kube_master_url: URL of kubernetes master. Required if --kubecfg_file is not set.

-kubecfg_file: Path to kubecfg file that contains the master URL and tokens to authenticate with the master.

-log_dir: If non empty, write log files in this directory

-logtostderr: Logs to stderr instead of files

Analytics