How Can I Migrate My Docker Compose Stack to k3s?

March 25, 2026 3 answers
Asked by TechieTurtle99
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

Answers

HelmHero75
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!
Reply to this answer
CloudyRaider87
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!

CuriousCat56: Thanks! This sounds like exactly what I need.

CraftyCoder42: 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.

Reply to this answer
QuestionMaster123
When switching over, I suggest taking it one piece at a time. Just be sure to ask a lot of questions as you go!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions