github.com/mmrajput/kubernetes-platform-production

Kubernetes Platform Engineering
Production

One Platform · Nine Layers · Five Deployment Models · Infrastructure-Agnostic

Talos Linux · CAPI · ArgoCD GitOps · Cilium
Bootstrap sequence · five phases · one time only
Phase 01 · imperative
Bare metal prep
Proxmox VE · pvecm cluster · bridge networking · raw disks for Ceph
Phase 02 · imperative
Management cluster
3 CP · 3 worker · 3 storage nodes · talosctl gen secrets · gen config · bootstrap
Phase 03 · imperative
Core platform services
cert-manager · Rook-Ceph · CNPG · GitLab CE · then ArgoCD points at GitLab · Git = source of truth from day one
Phase 04 · pivot
CAPI + GitOps pivot
clusterctl init · Talos node template · commit cluster manifests · last manual step ever
Phase 05 · gitops
Full GitOps
CAPI provisions nodes · ArgoCD deploys everything · Git is the only interface
Phases 1–3: imperative zone Phase 4: pivot · last manual step Phase 5 onward: pure GitOps · no kubectl · no helm
Control Plane
3-node HA · dedicated CP nodes · no workloads · fixed across all deployment models
infrastructure-agnostic
Management Plane
Layers 3–8 · fixed · serves all workload clusters and deployment models · never runs tenant workloads
shared services · all clusters
Workload Plane
Layer 9 · five deployment models · this is the only plane that changes per use case
Git is the only interface
Layer 9 · Deployment Models CAPI provisions · ArgoCD deploys · Vault delivers · Keycloak SSO · Headscale connects · all five models
One management plane manages all five deployment models. The Git directory structure is the single interface regardless of model. Add a file → platform provisions it. Remove a file → platform decommissions it. Vault, Keycloak, Observability stack, and Falco serve all five models from the management plane with zero per-model duplication.
Model 1
vCluster IDP
Self-service developer environments · shared host cluster
team dev staging testing
Virtual API server per team S / M / L resource tiers Sleep · scale-to-zero Backstage portal provisioning
clusters/tenants/*.yaml
Model 2
Mission Critical
Dedicated cluster per certified workload · IEC 62443
SCADA / OT IEC 62443 railway
Dedicated HW + own etcd Own K8s version lifecycle CAB-governed changes Certification boundary
clusters/dedicated/*.yaml
Model 3
Large Microservices
Zalando-scale · one prod cluster per domain · namespace per team
100s of services multi-team high deploy rate
Dedicated prod+nonprod pair per domain Namespace per team inside cluster Cilium L7 between namespaces AppSet per service directory
clusters/dedicated/*.yaml
Model 4
KubeEdge
Factory floors · substations · remote OT sites
factory / OT substation edge
No cluster on device EdgeCore · outbound only OPC-UA · Modbus · DeviceTwin SecureBoot + TPM
edge/sites/*.yaml
Model 5
KubeVirt
Legacy VM migration · SAP · ERP · Windows Server
legacy VM SAP / ERP migration path
VirtualMachine CRD in Git QEMU/KVM · Ceph RBD PVC Forklift import · VMware/oVirt Multus CNI on kubevirt pool
vms/workloads/*.yaml
Model 1 · vCluster IDP
clusters/tenants/*.yaml
Model 2 + 3 · dedicated clusters
clusters/dedicated/*.yaml
Model 4 · edge sites
edge/sites/*.yaml
Model 5 · legacy VMs
vms/workloads/*.yaml
Git is the only interface — Add a YAML file → platform provisions it. Remove a file → platform decommissions it. CAPI provisions nodes, ArgoCD deploys workloads, Vault delivers secrets, Keycloak provides SSO, Headscale connects edge. Same management plane serves all five models.