Skip to content

jokajak/homelab

Repository files navigation

homelab

This repository contains my homelab orchestration and notes.

Inspiration

  • onedr0p home-ops

Setup

  1. Setup fedora coreos on k8s hosts
  2. Setup k3s as the kubernetes cluster
  3. Setup flux to manage apps
  4. Configure Renovate

Configuring Renovate

  1. Go to https://github.com/apps/renovate and click "Install"
  2. Follow the steps to "Install" "Renovate" in all appropriate repositories.
  3. Agree to Mend policies to have an account
  4. Start Setup Wizard
  5. Use Interactive Mode
  6. Run renovate on appropriate repository

Configuration Notes

Fedora Core OS Installation

I used the following command to generate the ignition configuration:

ansible-playbook -i inventory.yml --vault-id inventory@.vault-pass \
  playbooks/ignite.yml \
  -e ignition_dest='{{ ignition_hostname }}.ign' \
  -e ignition_disk=/dev/sda \
  -e arch=aarch64 \
  -e pubkey=ssh.pub

Raspberry Pi Customization

$ sudo lsblk /dev/sda -oLABEL,PATH
LABEL      PATH
           /dev/sda
           /dev/sda1
EFI-SYSTEM /dev/sda2
boot       /dev/sda3
root       /dev/sda4
$ sudo mkdir /mnt/rpi_efi/
$ VERSION=v1.34  # use validated version
$ pushd /mnt/rpi_efi/
$ sudo curl -LO https://github.com/pftf/RPi4/releases/download/${VERSION}/RPi4_UEFI_Firmware_${VERSION}.zip
$ sudo unzip RPi4_UEFI_Firmware_${VERSION}.zip
$ popd
$ sudo umount /mnt/rpi_efi

Flux notes

flux reconcile source git home-kubernetes immediately pulls git changes

References

About

Home lab orchestration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •