-
Notifications
You must be signed in to change notification settings - Fork 21
Home
Deploy Akka Clusters on Kubernetes
Akka clusters are elastic & decentralized. Kubernetes clusters are also elastic. How to utilize Kubernetes for Akka's benefit?
Cloud
Akka Cluster is a fault-tolerant peer-to-peer cluster membership service. Kubernetes provides several features that are a great fit for running applications built with Akka Cluster. This code pattern will cover how to take your Akka Cluster application and configure it to run on top of Kubernetes, taking advantage of its many standard features.
https://github.com/IBM/Akka-cluster-deploy-kubernetes
In this code pattern, we will take an scala Akka application and deploy it to Kubernetes cluster. We will walk step by step of the process. During which we will also discuss the challenges in deploying Akka to Kubernetes and the solution to that. Also we will show how Kubernetes can manage Akka cluster scale.
- Add tools to the the Docker base image
- Use sbt to build the sample app into docker image
- Push the docker image to a docker repository
- Deploy the Akka cluster on Kubernetes with
statfulset
- Try out the scaling of Akka cluster
Containers:
Container Orchestration:
Scala: