Prometheus PV expansion

After deploying Kube-Prometheus-Stack, I very quickly found that the persistent volume I provisioned was way too small! After a bit of research, I found that Kuberenetes does not support PV expansion for StatefulSets. The solution is to manually patch and expand the persistent volume in question https://prometheus-operator.dev/docs/…

This blog is now on Kubernetes

In the pursuit to learn more about Kubernetes, I've decided to migrate my homelab and services over to Kubernetes running on K3S. To that end, this blog is now running there via https://github.com/sredevopsorg/ghost-on-kubernetes.…

Getting a Cloudflared tunnel to work in k3s

I spent the better part of a weekend troubleshooting why I could not expose Traefik's dashboard out via a Cloudflare tunnel only to have the issue be with the actual Cloudflare tunnel! To start I was following this guide https://developers.cloudflare.com/cloudflare-one/tutorials/many-cfd-one-tunnel/ along with…

Expanding a Proxmox VM cloned using cloudinit

I have been using virtual machines which I setup with cloud init within my homelab. Today I ran into a challenge where I wanted to expand those disks easilly and found out that cloudinit can actually handle this! Simply install sudo apt-get install cloud-initramfs-growroot and then reboot. That's…

Remove .DS_Store files from a Git repo

I noticed while working on my new Kubernetes homelab that .DS_Store files were being committed to my Flux GitOps repo. Just documenting how I removed this and prevented future .DS_Store files from being committed. Remove existing .DS_Store files from the repository: find . -name .DS_Store -print0 | xargs…