kubernetes

by kvaps

Helm chartv0.13.5App 1.22.4

Production-Grade Container Scheduling and Management

About this chart

Kubernetes-in-Kubernetes

Deploy Kubernetes in Kubernetes using Helm

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.5 \
  --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

Deploy kubernetes with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubernetes on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubernetes is pinned at v0.13.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply