Kubernetes-in-Kubernetes
Deploy Kubernetes in Kubernetes using Helm
Requirements
- Kubernetes v1.21+
- Helm v3
- cert-manager v1.0.0+
Quick Start
Preparation
-
Install cert-manager.
-
If you running over minikube you might also need to install a provisioner, you can use local-path-provisioner for example.
Installation
helm repo add kvaps https://kvaps.github.io/charts
helm install foo kvaps/kubernetes --version 0.13.4 \
--namespace foo \
--create-namespace \
--set persistence.storageClassName=local-path
Cleanup
kubectl delete namespace foo
Usage
Kubernetes-in-Kubernetes is just a control plane, in most cases it's useless without workers.
If you're looking for a real use case, check out the following projects that implement worker nodes management:
- Kubefarm - Automated Kubernetes deployment and the PXE-bootable servers farm