Homelab Quick start
Get your Kubernetes homelab up and running fast. This guide covers the minimum steps to launch a cluster and deploy apps with GitOps.
info
For a deeper technical guide or troubleshooting steps, see Getting Started.
Prerequisites
- Proxmox access with your SSH key added to the hypervisor.
- Tools installed:
opentofu
,talosctl
,kubectl
, andargocd
. - This repository cloned locally.
Overview of steps
- Configure cluster variables.
- Launch the cluster with OpenTofu.
- Retrieve access configs.
Quick Start Steps
-
Clone the repository and move into it:
git clone https://github.com/theepicsaxguy/homelab.git
cd homelab -
Create your cluster variable file (
terraform.tfvars
):# terraform.tfvars
cluster_name = "homelab"
controlplane_ips = ["10.25.150.10", "10.25.150.11", "10.25.150.12"]
worker_ips = ["10.25.150.20", "10.25.150.21"]infoCustomize IPs and hostnames as needed for your lab environment.
-
Initialize SSH agent and OpenTofu:
eval $(ssh-agent)
ssh-add ~/.ssh/id_rsa
tofu init -
Provision the cluster (this may take a few minutes):
tofu apply
-
Fetch your access configs:
tofu output -raw talos_config > ~/.talos/config
tofu output -raw kube_config > ~/.kube/config
chmod 600 ~/.talos/config ~/.kube/config
Verify
-
Check that Talos nodes are healthy:
talosctl health --talosconfig ~/.talos/config --nodes <control-plane-IP>
-
Confirm apps are syncing (ArgoCD):
argocd app list
All applications should be
Healthy
andSynced
. For any issues, see troubleshooting in the full guide.
That's it! Your cluster and GitOps stack are live.