I created a deployment tutorial for Phoenix applications with Kubernetes (microk8s) a few months back with the goal of simplifying the lifecycle. It was meant to be implemented at the company I work for but in the startup world we live in, temporary implementations tend to stick, and the approach was never implemented.
It took quite some effort, and instead of letting it rot away in a dead repository I decided to share the implementation here as I found the topic to be quite under-documented on the internet. I have no mentionable experience with elixir or phoenix itself but I think the approach could be useful to others.
The implementation was integrated in a gitlab repository that is now publlic Phoenix Kubernetes integrations. Some of the documentation might be lacking since we ultimately canceled the integration, however the whole shebang is implemented around a default template phoenix app, and filling in the gaps should not be too hard.