devops5 min read

K3s on On-Prem Infrastructures the GitOps Way: Writing a Custom k0rdent Template from Scratch

1 similar post
  • k0rdent
  • K3s
  • Proxmox
  • Helm
  • Kubernetes

AI Summary

This article demonstrates how to provision and manage lightweight K3s Kubernetes clusters on on-premise Proxmox infrastructure using k0rdent and a custom Bring Your Own Template (BYOT) GitOps approach. It outlines a modular architecture separating infrastructure provisioning, control plane configuration, and Kubernetes bootstrapping to replace fragile shell scripts with declarative reconciliation.

Key Takeaways

  • Created a custom Helm chart functioning as an Infrastructure Provider for Proxmox to clone pre-existing VM templates.
  • Used K3s as the lightweight bootstrap provider to initialize control planes and join worker nodes efficiently.
  • Achieved full continuous reconciliation, allowing operators to handle drift, scaling, and teardowns declaratively.

Why it matters

Managing on-premise Kubernetes clusters often relies on manual VM creation and complex bash scripts. By leveraging k0rdent's custom templates and a clear separation of concerns, engineers can achieve declarative, repeatable, and easily scalable cluster lifecycles on self-hosted environments.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.