Over this past year, I have set up a home lab Kubernetes 4-node cluster. I have moved my various household services over to it, including Wallabag, Calibre, Vaultwarden, and Immich. For someone who is experienced with Kubernetes, this feels like an obvious and very nice upgrade from simple docker compose hosting. Unfortunately I have yet to set up a NAS for my files which would have a RAID to ensure the safety of the data. But even with a NAS, off-site backup is a good practice. I’ve been using Restic for years for my personal backup solution. I thought to myself, hey, Restic works so nicely and there is probably a stable docker image so it might not be too difficult to get it working in my Kubernetes cluster. Turns out I was right. ...
Mast Horses
At our club there are many boaters, including myself, who take down our masts for winter storage. These masts from sailboats, over 30 feet in length, weigh several hundred pounds, and there are points where we have possibly a dozen or more masts in a staging area. I’ve seen the sawhorses under these masks fail a couple of times. Masts are pretty heavy and when things are shifting or rolling, the weight of the mast is on a single point on a sawhorse. Even sawhorses which are rated for more weight than the mast have crumbled under this focused load. ...
Docker Layers
Did you know that every line in your Dockerfile that starts with the all-caps statement such as ENV, COPY, or RUN creates a new layer in the docker image? This results in more layers to download and possibly larger file sizes for the images. “Whatever, my network is fast and once I have the image I’m good to go,” I hear you say. But consider the pipelines and all the environments where the image might run for dev and testing. Each image download needs to pull all the layers. I think it could be worth a bit of effort to reduce this, especially because it is easily done. ...
Should-Free DevOps
If you are a DevOps Engineer, you probably have a list of shoulds. “I should learn those five hot new tools someone mentioned recently.” “I should refactor that old code.” “I should migrate all our tools to microservices in Kubernetes.” “I should do a threat analysis, and review our monitoring and alert systems, and do something with AI somehow, and,” …and you get the idea. It can be a little overwhelming. ...