ing-bank / baker

Orchestrate microservice-based process flows
https://ing-bank.github.io/baker/
MIT License
329 stars 83 forks source link

Cluster management with akka-management #219

Open SemanticBeeng opened 5 years ago

SemanticBeeng commented 5 years ago

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 commented 5 years ago

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
VledicFranco commented 5 years ago

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

SemanticBeeng commented 4 years ago

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

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