k3s/cluster/addons/dns/kube2sky
k8s-merge-robot 78dc9c7716 Merge pull request #19376 from luxas/dns_cross_platform
Automatic merge from submit-queue

Make kube2sky and skydns docker images cross-platform

ARM tracking issue: #17981
Continues on: #19216

Make it possible to create `kube2sky` and `skydns` docker images for ARM and other architectures too
Build in a container, so `golang` isn't a dependency
I've preserved the original default behaviour:
 - `skydns`: It just compiles with go on host
 - `kube2sky`: Build an image

@brendandburns @dchen1107 @ArtfulCoder @thockin @fgrzadkowski
2016-04-11 05:47:10 -07:00
..
.gitignore update kube2sky version 2015-12-15 15:16:47 -08:00
Changelog Make kube2sky and skydns docker images cross-platform: amd64, arm, arm64 and ppc64le 2016-04-11 07:31:59 +03:00
Dockerfile Make kube2sky and skydns docker images cross-platform: amd64, arm, arm64 and ppc64le 2016-04-11 07:31:59 +03:00
Makefile Make kube2sky and skydns docker images cross-platform: amd64, arm, arm64 and ppc64le 2016-04-11 07:31:59 +03:00
README.md kube2sky readme: fix flags 2016-03-17 21:59:07 -07:00
RELEASES.md Make kube2sky and skydns docker images cross-platform: amd64, arm, arm64 and ppc64le 2016-04-11 07:31:59 +03:00
kube2sky.go Merge pull request #23366 from goltermann/vet 2016-03-24 21:50:56 -07: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