Part of getting this to work was to put all my DNS records for that domain in #digitalocean's nameserver service and let #certmanager do a DNS01 challenge.
So I made the call to put all my DNS records in #terraform making managing it easier and more atomic. This makes migrating
Attached: 1 image · Content warning: Kubernetes home lab using lego thread imported from Bird site
Started writing the first blog post of this Twitter thread: https://t.co/iuUdBOHixy
Ok the ToC is up a bit earlier: https://blog.wyrihaximus.net/2022/10/building-a-kubernetes-homelab-with-raspberry-pies-and-lego-table-of-contents/
Partly because it was quick and easy to write. Onto a post with more insights
For years I've been using Raspberry Pi's to do in home automation. One of the major constraints was maintenance, if one goes down I have to look at it while things are down. This made running Home Assistant less than ideal. After working with Kubernetes for a few years I decided to bring it into my home permanently. But with a challenge, by using Lego. During the Pandemic we got back into building Lego and this is a way for me to bring my Lego skills to the next level. The post is probably the most boring one as it is the table of contents. However, it will be updated every time a new post is published. Also, posts won't be written in a logical order but more in order of the things that are already done. As such the "Home Assistant" post will come before the "Node Software set up" post because the former can be done again without changes or data loss due to the "Terraform" and "Storage" posts.
While most apps are stateless, the often do need to store state somewhere. In Kubernetes you can use a Persistent Volume Claim. That claims a piece of storage for the pod for now and in the future.
This #kubernetes #lego #raspberyrpi thread is now fully imported and can be found:
* On #Mastodon: https://toot-toot.wyrihaxim.us/@wyri/109858081844775179
* On Twatter: https://twitter.com/WyriHaximus/status/1404501201438261260
Regular updates will now resume 🎉
Content warning: Kubernetes home lab using lego thread imported from Bird site
Attached: 1 image An hour before I wanted to add two more controlplane nodes to my home #k8s cluster the current single one stopped responding to API calls 🤦
Here is a reason why I love #kubernetes; just made #RabbitMQ replicas run in different zones. Downstairs where 2 of the control plane nodes are is a zone, my desk for the other control plane node is a zone, and the rest of the cluster behind me is a zone. So I now forced a broker in each zone, but also told it not to get on the same node as #homeassistant.
This will get me some more usage out of those nodes. Because honestly 3 nodes as control plane for a home cluster? That is overkill.
Today was to rebuild that supporting pillar and restore Deathwing's cat bed in time for #caturday tomorrow.
Started with ensuring adding a 16x16 in the middle of the pillar for support, connecting it to the plates it supports.
Baroness Draka came by to inspect it and then put it back up after rearranging some cables that pulled it over in the first place.
Put in air flow directors for some extra cooling for the switch in place as well. It's currently running at a fine 57 degrees (inside the outside is always touchable but can feel hot), but can go up to 70 especially when it is hot up here.
Monitoring everything, currently building something that queries #Prometheus and tosses it over #MQTT to @homeassistant so #nodered can turn on the cooling fan, and in the worse case scenario cut the power.
The first attempt to put a roof on: failed.
The roof was technically on, and while it's not intended for the #cats to walk on, they will. Any light force would bend the walls. So going to reinforce those first and come up with a solid skeleton and then give it another go.
Finished building most of the blade in stud.io, only thing left is the front/rear node suspension (the side with all the USB and Network sockets) and be happy with a final design.
Got several designs in the cluster, from sloppy to tight but not happy with any of them honestly.
Dust sucks, but have to keep it in mind. This is the controlplane node on my desk, didn't clean it on purpose for a few months to see how bad it would be.
Took less than a minute to clean, and the dust barely affected the cooling. But it was still a lot more than expected.