Skip to main content
New: the Agentic AI Academy, 5 courses on running AI agents in production.Start free →

A management cluster for control planes

This is the free lesson

Next: Your first tenant control plane

The rest of this course is part of Pro, together with every other course and the ones added later.

$25 a month billed yearly, or $29 month to month

Until 30 November: $210 for the first year, or $14.50 for the first month, with code LAUNCH.

A free account keeps your progress across devices. The paid lessons need Pro.

Code Snippets

cluster.yamlyaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: kamaji-mgmt
nodes:
  - role: control-plane
    extraPortMappings:
      # tenant API servers, published on the Mac only (127.0.0.1)
      - containerPort: 31443
        hostPort: 31443
        listenAddress: 127.0.0.1
      - containerPort: 31444
        hostPort: 31444
        listenAddress: 127.0.0.1
Commands of this lessonbash
docker info --format '{{.NCPU}} CPUs, {{.MemTotal}} bytes of memory'
kind version && kubectl version --client && helm version --short
kind create cluster --config cluster.yaml --image kindest/node:v1.37.0
docker ps --filter label=io.x-k8s.kind.cluster=kamaji-mgmt --format 'table {{.Names}}\t{{.Ports}}'
helm install cert-manager oci://quay.io/jetstack/charts/cert-manager --version v1.21.3 \
  --namespace cert-manager --create-namespace --set crds.enabled=true --wait
git -c advice.detachedHead=false clone -q --depth 1 --branch 26.11.4-edge \
  https://github.com/clastix/kamaji.git
grep -h "production ready\|subscription basis" kamaji/docs/content/reference/versioning.md
REL=https://api.github.com/repos/clastix/kamaji/releases/tags/26.11.4-edge
curl -s $REL | jq -r .body | grep evaluation
helm repo add clastix https://clastix.github.io/charts
helm dependency build kamaji/charts/kamaji
helm install kamaji kamaji/charts/kamaji --namespace kamaji-system --create-namespace \
  --set image.tag=26.11.4-edge --wait --timeout 10m
kubectl get crds -o name | grep kamaji
kubectl get datastores
kubectl get pods -n kamaji-system
A management cluster for control planes — CopyPasteLearn