I'm looking for guidance on migrating my services from Docker Compose to a k3s cluster that I've recently set up with two Raspberry Pis and a Dell Latitude 7490 functioning as the control node. I've been struggling to understand the documentation, and most AI tools I've tried provide outdated information that isn't helpful. Here's my current stack:
* On Pi 3:
* PiHole
* Glances
* Uptime Kuma
* On Pi 4:
* Glances
* Immich
* ForgeJo
* OpenCloud
* Mealie
* Dockhand
2 Answers
Have you considered using Kompose? It can help transform your Docker Compose files into Kubernetes manifests. Just make sure to not rely solely on the generated files—take the time to understand and tailor them for your setup. This will save you a lot of headaches during troubleshooting later!
I started with Kompose too, but I ended up rewriting my manifests from scratch. I realized that I really just needed a deployment, persistent volume, and service. Sometimes, all you need is a configmap or secret for configs.
Another approach is to look for Helm charts for the applications you're using. This can make your life easier, especially if you want to avoid deep diving into Kubernetes. The k8s documentation is also a fantastic resource!

Thanks! This sounds like exactly what I need.