Use a kubernetes-hosted minimal container for skydns

This commit is contained in:
Tim Hockin 2014-12-23 14:34:59 -08:00
parent e045c6ce2f
commit b0268f3833
4 changed files with 24 additions and 2 deletions

View File

@ -25,13 +25,13 @@ desiredState:
"-peer-bind-addr=127.0.0.1",
]
- name: kube2sky
image: kubernetes/kube2sky:latest
image: kubernetes/kube2sky:1.0
command: [
# entrypoint = "/kube2sky",
"-domain={DNS_DOMAIN}",
]
- name: skydns
image: skynetservices/skydns:latest
image: kubernetes/skydns:2014-12-23-001
command: [
# entrypoint = "/skydns",
"-machines=http://localhost:4001",

View File

@ -0,0 +1,4 @@
FROM busybox
MAINTAINER Tim Hockin <thockin@google.com>
ADD skydns skydns
ENTRYPOINT ["/skydns"]

View File

@ -0,0 +1,13 @@
all: skydns
skydns:
CGO_ENABLED=0 go build -a --ldflags '-w' github.com/skynetservices/skydns
container: skydns
sudo docker build -t kubernetes/skydns .
push:
sudo docker push kubernetes/skydns
clean:
rm -f skydns

View File

@ -0,0 +1,5 @@
# skydns for kubernetes
=======================
This container only exists until skydns itself is reduced in some way. At the
time of this writing, it is over 600 MB large.