The World’s Largest Online Community for Developers
What are the downsides, gotchas, or things that one needs to be aware of when containerizing Akka apps. Are there things to be avoided? Libraries that help? What is the best process for containerizing an akka app or best practices. Any links to articles would be appreciated.
This question is really too broad for stack exchange, but I'll give a couple of quick suggestions since it doesn't look like it's going to get flagged as too broad.
SBT Native Packager is the typical way to package akka applications for Docker. Although I understand there are similar tools for other build chains.
As far as "best practices", I don't think there's anything particularly different than any other JVM Docker images. e.g.:
There are also, of course, the actual Akka docs deploying to Docker as well.
One thing that you may find helpful is the Lightbend article on running Lagom on Kubernetes. Since it's Lagom (rather than just Akka) and Kubernetes (rather than just containers) it will be a superset of things you care about. (For example, you won't care about the Postgres/Kafka setup.) But it also just contains lots of good advice in general about running in containers: