kube2sky

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2016 License: Apache-2.0

README

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.

--etcd-cafile: TLS Certificate Authority file to secure etcd communication.

--etcd-certfile: TLS certificate file to secure etcd communication.

--etcd-keyfile: TLS key file to secure etcd communication.

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

Note

This is a mirror from the official repository at https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dns/kube2sky.

This mirror exists solely to enable support of several features absent in the official repository.

Currently, it implements TLS support for etcd.

Analytics

Directories

Path Synopsis
cmd
kube2sky
kube2sky is a bridge between Kubernetes and SkyDNS.
kube2sky is a bridge between Kubernetes and SkyDNS.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL