kid - Kubernetes in Docker
Launch Kubernetes 1.3 in Docker in one kid up
command.
❱ kid
kid is a utility for launching Kubernetes in Docker
Usage: kid [command]
Available commands:
up Starts Kubernetes in the Docker host currently configured with your local docker command
down Tear down a previously started Kubernetes cluster
restart Restart Kubernetes
On Linux kid will launch Kubernetes using the local Docker Engine.
On macOS kid will start Kubernetes in the boot2docker VM if there is an active Docker Machine. kid then sets up port forwarding so that you can use kubectl locally without having to ssh into boot2docker.
If kid detects a local installation of Docker for macOS, it uses that instead.
In order for kid
to operate you must have installed the following and have the commands available on your PATH
.
- kubectl - (Linux | macOS[https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-via-curl]
- docker - (Linux | macOs)[https://www.docker.com/community-edition#/download]
- socat - (macOs)[http://brewformulas.org/Socat]
kid also sets up:
- The DNS addon
- The Kubernetes Dashboard