How Can I Migrate My Docker Compose Stack to k3s?

0
13
Asked By TechieTurtle99 On

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

Answered By CloudyRaider87 On

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.

Answered By HelmHero75 On

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!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.