/kubernetes-in-kubernetes

Deploy Kubernetes in Kubernetes using Helm

Primary LanguageSmartyApache License 2.0Apache-2.0

Kubernetes-in-Kubernetes

Deploy Kubernetes in Kubernetes using Helm

demo

Requirements

  • Kubernetes v1.21+
  • Helm v3
  • cert-manager v1.0.0+

Quick Start

Preparation

Installation

helm repo add kvaps https://kvaps.github.io/charts
helm install foo kvaps/kubernetes --version 0.13.3 \
  --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