serhii-myronets/terraform-talos-gitops-cluster
About
Kubernetes cluster with fully automated infrastructure using Terraform and Talos on Proxmox. GitOps with Argo CD, Cilium networking, and full observability powered by OpenTelemetry.
Systems & InfrastructureMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- +1
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalTalos Kubernetes homelab on Proxmox
Infrastructure and GitOps configuration for a Talos Linux Kubernetes cluster running on Proxmox VE.
The repository is split into three deployment stages:
00-prerequisite → 01-infrastructure → 02-bootstrap → 03-gitops
host setup Terraform/Talos Cilium + Argo CD workloads
What is deployed
- Talos Linux VMs provisioned on Proxmox with Terraform
- 1 control-plane node and 3 worker nodes by default
- Cilium as the CNI, with kube-proxy replacement, eBPF, Hubble and Gateway API
- Argo CD managing the rest of the cluster from the
homelabbranch - OpenEBS for worker-node storage
- External Secrets Operator backed by Infisical
- Cilium Gateway API (
Gateway/HTTPRoute) for service exposure - PostgreSQL and Strimzi-managed Kafka
- Observability with OpenTelemetry, VictoriaMetrics, Loki, Fluent Bit, Tempo and Grafana
- OpenTelemetry Demo as an example instrumented workload
- Cloudflare Tunnel for external access
This is a homelab/learning environment. Resource sizes, credentials, network addresses and enabled workloads are repository-specific and should be reviewed before reuse.
Architecture
The default Terraform values use one Proxmox host and the 10.1.1.0/24 node network:
Proxmox VE
└── vmbr0
├── control-plane: 10.1.1.60
├── worker-1: 10.1.1.70
├── worker-2: 10.1.1.71
├── worker-3: 10.1.1.72
└── Kubernetes API VIP: 10.1.1.50
The exact node count, addresses and VM resources are controlled by 01-infrastructure/variables.tf. The default worker profile includes a separate 100 GB disk for OpenEBS.
Repository layout
| Path | Role |
|---|---|
00-prerequisite/ |
Workstation, Proxmox and network preparation |
01-infrastructure/ |
Terraform resources, Talos image/config generation and machine patches |
02-bootstrap/ |
Helmfile bootstrap for Cilium and Argo CD |
03-gitops/ |
Argo CD Applications, Helm values and Kubernetes resources |
assets/ |
Documentation screenshots |
Inside 03-gitops, applications are organized into four tiers:
00-core Argo CD, cert-manager, Gateway API, secrets, storage, MinIO, metrics-server
01-platform PostgreSQL and Strimzi operator
02-services Kafka and OpenTelemetry Demo
03-observability Grafana, Loki, Tempo, VictoriaMetrics, OpenTelemetry and exporters
03-gitops/components/99-archive/ contains retired or experimental components and is not part of the active Argo CD tree.
Deployment flow
Follow the stage-specific README files in order:
- Prepare the workstation and Proxmox host.
- Provision Talos VMs with Terraform.
- Bootstrap Cilium and Argo CD with Helmfile.
- Apply the GitOps application tiers through Argo CD.
# Run from 01-infrastructure
terraform init
terraform apply
terraform output -raw kubeconfig > ~/.kube/config
terraform output -raw talosconfig > ~/.talos/config
# Then bootstrap
cd ../02-bootstrap
helmfile apply
# Finally apply the Argo CD application roots
kubectl apply -f ../03-gitops/applications/00-core-root.yaml
kubectl apply -f ../03-gitops/applications/01-platform-root.yaml
kubectl apply -f ../03-gitops/applications/02-services-root.yaml
kubectl apply -f ../03-gitops/applications/03-observability.yaml
Do not commit real Proxmox credentials or bootstrap secrets. Use the example secret template and the configured Infisical integration for runtime secrets.
Access and verification
Internal services are exposed through Cilium Gateway API resources. Active routes live alongside component configuration under 03-gitops/components/. External access is provided by Cloudflare Tunnel; DNS and tunnel credentials are environment-specific.
kubectl get nodes
cilium status --wait
kubectl get applications -A
Screenshots
| Proxmox | Argo CD |
|---|---|
![]() |
![]() |
| Grafana | Tempo |
|---|---|
![]() |
![]() |
Explore related projects
Loading…



