Deploy Kubernetes in Kubernetes using Helm
- Kubernetes v1.21+
- Helm v3
- cert-manager v1.0.0+
-
Install cert-manager.
-
If you running over minikube you might also need to install a provisioner, you can use local-path-provisioner for example.
helm repo add kvaps https://kvaps.github.io/charts
helm install foo kvaps/kubernetes --version 0.13.5 \
--namespace foo \
--create-namespace \
--set persistence.storageClassName=local-path
kubectl delete namespace foo
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