We are running flask apps with docker through an ubuntu vm
we have our postgres database running on another vm
at what point is this way more dumb and resource heavy than just running these through their alternatives directly in truenas scale app hub
I feel like im not utilizing kubers and truenas the way I should be that is also introducing a different learning curve. Is the difference drastic or is this min/maxing optimizations?
I’ve been almost solely using scale during my truenas experiences and I don’t run any apps on my main machine. Personally I’m more familiar with managing my docker containers inside an Ubuntu VM hence that’s what I’m using.
Just enabling k3s comes with a documented cost of at least 10 W at idle.
If you’re confident with running your apps in VMs, keep it that way, or look into jailmaker to reduce the overhead of running a full VM.
You should be able to run Postgres in a Docker image too and end up without any VMs. Overhead should be pretty low, and memory will be used flexibly rather than pre-allocated.