baker icon indicating copy to clipboard operation
baker copied to clipboard

Cluster management with akka-management

Open SemanticBeeng opened this issue 5 years ago • 3 comments

Introduce support for cluster management based on akka-management https://developer.lightbend.com/docs/akka-management/current.

Example based on Kubernetes and akka-management https://blog.softwaremill.com/running-akka-cluster-on-kubernetes-e4cd2913e951

Would be really good to know more about current ING cluster / deployment management practices and how akka-management would fit.

Would the multi-JVM tests work / benefit from such a deployment ?

SemanticBeeng avatar May 02 '19 11:05 SemanticBeeng

Running an Akka cluster in minikube: https://github.com/SemanticBeeng/akka-simple-cluster-k8s

Setup minikube to run nativelly and to reuse already existing Docker. Handy in development and local cluster / multi-JVM testing.

 sudo minikube start --vm-driver=none

SemanticBeeng avatar May 03 '19 12:05 SemanticBeeng

Hi @SemanticBeeng, supporting extensions or tooling for the actor system or the cluster is something we think is better to delegate to the user of Baker, since Akka is just implementation details of our library. Feel free to use the same actor system you use for Baker for any other tooling like Akka Management.

Regarding: Would be really good to know more about current ING cluster / deployment management practices and how akka-management would fit.

That is a cool idea and probably a good blog post, we will consider it for when we have time.

Regarding multi-JVM tests

Multi-JVM tests are currently setup to join the cluster on the traditional seed-node mode, it might be interesting to see if they can be used to test a service discovery mode

VledicFranco avatar May 07 '19 12:05 VledicFranco

Would be really good to know more about current ING cluster / deployment management practices and how akka-management would fit

  • do you know of any kubernetes deployment or any reason why it would not work ?

@FrancoAra maybe now a good time for this? :-)

SemanticBeeng avatar Aug 14 '20 11:08 SemanticBeeng