How to deploy a app

I have an obvious question I cannot find how to solve.
How does MAAS deploy an App on top of the deployed image?
Do I have to bundle my image with the OS and the app?

Is this question too basic or out of scope?
Maybe I have to get a bit more clear:

How can I deploy k3s and let it take control?