This project is to get Kubernetes running locally in Docker. Notes below.
This project is still in development, feel free to use at your own risk, as it is currently not working...
K8 is moving to systems that require secure connectivity, so the core security is built into the base kubectl
image.
By default, the docker-compose
will run a single instance of each of the following:
kubectl
=> used to issue commands, also the base imageetcd
=> Builds out an etcd instance for k8kube
=> The K8 "brain" which includes:kube-api-server
=> Builds out the k8 api-serverkube-scheduler
=> Builds out the k8 schedulerkube-controller-manager
=> Builds out the k8 controller-manager
kubelet
=> Builds out three (3) kubelet nodes
The .env
file contains values that will be used by docker-compose
. CAUTION: only update these if you know what you're doing!!
docker-compose up
or docker-compose up -d
for a daemonized version
This is loosely based on Kubernetes the Hard Way, with several liberties and customizations done to manage services as individual containers vs daemons on a single machine.
This project is licensed under Apache-2.0.