Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
/ homelab-v2 Public archive

The Terraform infra-as-code for my home Kubernetes cluster.

Notifications You must be signed in to change notification settings

jsvensson/homelab-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cephalon

Cephalon is the infra-as-code repository for my home lab setup. Work in progress.

Cluster installation

The cluster is based on k3s. This is a learning experience, so currently it is using a default installation with k3sup as the installer.

The installation assumes that you have set up the nodes to allow SSH access, to allow k3sup to perform the installation.

Install server

k3sup install --ip $SERVER_IP --user pi

Join nodes to cluster

k3sup join --ip $IP --server-ip $SERVER_IP --user pi

Hardware

The cluster currently runs on three Raspberry Pis, and a Rock Pi 5B.

  • leader-1: Raspberry Pi 4, 4Gi RAM
    • 240Gi SSD attached for Longhorn storage
  • agent-1: Raspberry Pi 3B+, 1Gi RAM
    • Zig-Star Stick v4 attached as a Zigbee control unit
    • 2Ti nVME stick for Longhorn storage
  • agent-2: Raspberry Pi 3B+, 1Gi RAM
  • agent-3: Rock Pi 5B, 8Gi RAM
    • 2Ti nVME stick for OS + Longhorn storage