Skip to content

adityathebe/homelab

Repository files navigation

Homelab

Image used with permission from k8s-at-home

k3s GitHub Last Commit

Using GitOps principals and workflow to manage a lightweight k3s cluster.

Infrastructure

I've used Techno Tim's k3s-ansible playbook to deploy a 3 node (1 master & 2 workers) cluster on 3 Proxmox VMs.

Dashboard

Servers

1. Proxmox

Description Spec
Server Acer Nitro 5
RAM 16GB
CPU Intel i7 11th gen
HDD 1TB
SSD 256GB

2. TrueNAS Scale

Description Spec
Server SONY VAIO - SVE14126CXB (2012)
RAM 8GB (maxed out)
CPU Intel i5-3210M
SSD (os) 256GB
SDD 1TB

Server Proxmox & Truenas(bottom) servers

Setting it up

  1. Create flux namespace and the necessary sops secret
export SOPS_AGE_KEY_FILE='<path-to-key.txt>'

make bootstrap0
  1. Flux installation
export GITHUB_TOKEN='ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

make bootstrap

Requirements

  • sops (secrets management)
  • age (encryption)
  • precommit