I’ve been playing with a home Kubernetes setup and slowly moving my docker images across. So far it’s been fairly straight-forward but wireguard presented a challenge… The post from Christian Seifert @ https://www.perdian.de/blog/2022/02/21/setting-up-a-wireguard-vpn-using-kubernetes/ finally got me up and running so posting here for my records…
The other piece of really useful information was this post on stackoverflow: What’s the difference between ClusterIP, NodePort and LoadBalancer service types in Kubernetes?
One more tip - the AllowedIPs parameter is different for the server and the clients.
I’ve been running a single-user instance Mastodon server for a few months. Being a single-user instance, it can be fairly quiet at times and one of the aspects I’ve been exploring is finding and adding targeted content to the Federated timeline…
After running subversion for many many years, I’ve finally taken the plunge and migrated everything to git with a local install of gitea The migration took some figuring out but I ended up with a fairly straight-forward script. For more details on my gitea setup are in a previous post Organising Blender Scripts
My notes for upgrading dockerised PeerTube
My notes for upgrading a dockerised mastodon instance
When I render animations with Blender on Windows, after a while background jobs kick in and rendering performance falls off a cliff. This post outlines how to get Blender running remotely on Ubuntu Desktop with Tiger VNC
Rending animations with Blender is a log running process. It is possible to keep an ssh session open for the duration of the render but we can use use tmux to keep the blender process running in the background.
If you have multiple cameras set up and want to render different views from the command line without manually changing cameras through the UI, it is possible to use a short python script at render time:
I wanted to render the hugo navigation differently on my development (internal) server and my production (public) server. This is how I did it for partials…
One of the last things bugging me about my blog migration to Hugo is being able to search posts. I use the blog privately to capture my own notes on topics and want to be able to quickly find them. I quickly ruled out using an external search engine and started experimenting with lunr.
Getting peertube up and running in docker using traefik as a web proxy turned out to be quite straightforward. The peertube docker instructions are good. Traefik is being used as the webserver proxy so we can comment out that section. I also use a wildcard LetsEncrypt certificate with DNS validation so the certbot section is also commented out. I then only had to make a couple of changes to the docker-compose file to add the traefik labels and set up a volume for the peertube assets.
I keep forgetting how best to find the files and directories using up all the available disk space…
I tried many ways and the hostname kept getting reset back to the previous value. Turns out there are two steps to changing the hostname permanently on Ubunut. Firstly, update preserve_hostname in /etc/cloud/cloud.cfg preserve_hostname: true Secondly use hostnamectl to change the hostname sudo hostnamectl set-hostname new-host-name Now when we reboot, the hostname will stay as new-host-name
A short description for turning an ancient doorbell into a smart doorbell with esphome, homeassistant and mqtt
We are experimenting with espresense to determine whether anyone is at home or not. So far, it seems to be working pretty well. A feature that sets espresense apart is the ability to detect Apple devices, specifically iPhones. It does this by pairing with the device and saving the remote IRK (identity resolving key). This is stored as a retained message on the esprense/settings mqtt topic. On occassion (likely a docker start), these retained messages have been cleared from the mqtt topic.
I’m a big fan of Docker as a way to isolate services and avoid the need to install dependencies on the base operating system. There turned out to be a few nuances getting Hugo up and running.