This is a series of articles that cover using Elixir in Kubernetes:
https://david-delassus.medium.com/elixir-and-kubernetes-a-love-story-721cc6a5c7d5
This uses the following github repo:
github.com/linkdd/elixir-k8s-love-story
The difference in this series from most others is that it covers building a Kubernetes setup assuning that you have a BEAM cluster rather than just a set of go applications that require elections.
The programming model for the BEAM is very different. The model is closer to an operating system than a single machine.
I have not yet worked through it, but will study it.
Here is another article on clustering on Kubernetes https://mbuffa.github.io/tips/20201022-elixir-clustering-on-kubernetes/