Skip to content

A centralized repo for managing and tracking the current state of my homelab infrastructure. Everything from server configurations and network setups to service states and environment snapshots is codified here—making it easy to review, version, and restore as needed

Notifications You must be signed in to change notification settings

pmdevers/MyHomelab

Repository files navigation

MyHomelab

Here is where I store the state of my homelab

Prerequisite

You are running on linux or running in a linux wsl environment.

To setup your environment we have depend on devbox to have an isolated environment and all required tools pre installed

To install devbox open a terminal and run the following command

curl -fsSL https://get.jetify.com/devbox | bash

Getting Started

Open a bash terminal and run the follwing commands

Setup environment

this will install the following tools in the nix environment

  • git
  • gh
  • kubectl
  • k9s
  • fluxcd
  • minikube
devbox shell

Authentication Token

Create a GitHub Token With the following permissions

  • Administration - Read and write
  • Commit statuses - Read and write
  • Contents - Read and write
  • Metadata - Read-only
  • Pull requests - Read and write

Create environment

platform setup

it will ask to provide the created github token.

Clean up

to clean up the local environment run the following command

platform destroy kubernetes

Talos Omni Cluster Patches

This allows scheduling on ControlPlanes In order for MetalLB to work we need to remove the label node.kubernetes.io/exclude-from-external-load-balancers

cluster:
  allowSchedulingOnControlPlanes: true
machine:
  nodeLabels:
    node.kubernetes.io/exclude-from-external-load-balancers:
      $patch: delete

About

A centralized repo for managing and tracking the current state of my homelab infrastructure. Everything from server configurations and network setups to service states and environment snapshots is codified here—making it easy to review, version, and restore as needed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •