Here is where I store the state of my homelab
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 | bashOpen a bash terminal and run the follwing commands
this will install the following tools in the nix environment
- git
- gh
- kubectl
- k9s
- fluxcd
- minikube
devbox shellCreate 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
platform setupit will ask to provide the created github token.
to clean up the local environment run the following command
platform destroy kubernetesThis 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