2014-11-11 21:15:59 +00:00
|
|
|
# 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.
|
2015-03-03 14:21:40 +00:00
|
|
|
|
|
|
|
'-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.
|