Skip to main content

Single-Node Kubernetes Homelab: GitOps Automation with ArgoCD & Terraform

109 words·1 min· loading · loading · ·
Vijay Kumar Singh
Project kubernetes k3s ArgoCD GitOps Terraform Prometheus Grafana Linux
Vijay Kumar Singh
Author
Vijay Kumar Singh
Microsoft Certified: DP-900, AI-900, AI-102 & Google Cloud: Associate Cloud Engineer. Open to DevOps, SRE, Cloud, DevSecOps, AI, GenAI, MLOps, and AIOps roles
Table of Contents

Infrastructure Architecture
#

My homelab serves as a self-hosted cloud-native sandbox to test enterprise Kubernetes patterns, declarative GitOps deployments, and infrastructure automation.

Tech Stack & Components
#

  • Cluster Runtime: Lightweight Kubernetes (k3s) on Linux.
  • Infrastructure as Code: Terraform for initial platform provisioning and namespace setup.
  • GitOps Delivery: ArgoCD continuously syncing cluster state with GitHub repositories.
  • Networking & Ingress: MetalLB load balancing and Traefik ingress controller.
  • Observability: Prometheus operator, kube-state-metrics, and custom Grafana dashboards for cluster metrics.

Key Learnings & Skills Demonstrated
#

  • Managing Kubernetes storage classes, ConfigMaps, Secrets, and persistent volumes.
  • Implementing zero-downtime GitOps deployments via ArgoCD sync policies.
  • Debugging pod lifecycle events, CNI networking, and node resource constraints.
Reply by Email