projectcalico / k8s-exec-plugin

[Deprecated] Kubernetes Exec Plugin
Apache License 2.0
47 stars 12 forks source link

[WIP] Prototype for kube-in-dind #87

Closed Symmetric closed 8 years ago

Symmetric commented 9 years ago

Using the guide here: https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/docker-multinode/master.md

Create a docker-in-docker Dockerfile to run our kube nodes.

Expected usage is

docker build -t calico/kube-dind .
docker run -dt --privileged -v `pwd`/master:/config --name kube-master calico/kube-dind
docker run -dt --privileged -v `pwd`/node:/config --name kube-node-1 calico/kube-dind

(Note currently there is no config for the node; it'll be what's in https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/docker-multinode/worker.md)