Posts

NFS for K8s PVs

published on
For a quick setup, I originally just used hostPath for my k8s persistence volumes. It was fast, simple, and because I only had 1 k8s node anyways. But I want to add nodes to this k8s cluster eventually, so I needed a host-agnostic way of mounting the same data regardless of where the pods will be running. Since I don’t have anything underlying, like openstack, and didn’t want to bloat my setup with similar platforms or plugins, I just opted for good old fashioned NFS. Read More...

Nginx stats i2C LCD

published on
As mentioned in the previous post, I replaced my surface with a rock64 that had an LCD display. Took some googling to figure out how to use it but eventually I wrote a short python script to display nginx worker stats on the LCD. As for the old surface 3, I just threw the latest ubuntu desktop on it and it is now my (almost) always on dashboard for the homelab. Read More...

V3.0 Change LB to rock64

published on
Bought a rock64 off amazon that has SD card, case, LCD display all included for $20. It was even cheaper before at $8 but I missed it and it has since increased in price everytime it’s out of stock. But even at $20 it’s a steal. I flashed a Ubuntu Bionic minimal image on to the SD card and ran my ansible playbook (after tweaking it a little to support arm64 arch) and boom, it’s my new load balancer. Read More...