nkube is a tool for deploying multinode Kubernetes clusters on Kubernetes itself. It uses helm to deploy a chart consisting of containers running systemd and docker-in-docker. kubeadm is then invoked to bootstrap a new Kubernetes cluster.
While nkube can potentially target any kubernetes deployment, it is currently only tested with minikube. To get started:
minikube start
helm init
ip6_tables module is loaded on the docker host (required for calico):minikube ssh
sudo modprobe ip6_tables
exit
./start.sh [helm install args]
start.sh has finished, a context will have been added that
will allow access to the cluster:kubectl --context=[cluster-id]
More than one nested cluster can be deployed at once.
Since the cluster is deployed with helm, helm commands can be used
to manage the cluster (e.g helm delete [cluster id] removes the
cluster).
ssh access to the nodes of the cluster is not supported. Instead,
use kubectl exec to gain shell access to the master and node
pods.
The number of nodes can be scaled by setting the replica count of the node deployment. The number of nodes is limited only by the capacity of the hosting cluster.
docker volume ls -qf dangling=true | xargs -r docker volume rm
Content type
Image
Digest
Size
275.3 MB
Last updated
over 8 years ago
docker pull maru/nkube