Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
andy shi edited this page Jan 7, 2018 · 10 revisions

Short Name

Deploy Akka Clusters on Kubernetes

Short Description

Akka clusters are elastic & decentralized. Kubernetes clusters are also elastic. How to utilize Kubernetes for Akka's benefit?

Offering Type

Cloud

Introduction

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.

Author

Andy Shi

Code:

https://github.com/IBM/Akka-cluster-deploy-kubernetes

Demo

Video

Overview

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.

Flow

test

  1. Add tools to the the Docker base image
  2. Use sbt to build the sample app into docker image
  3. Push the docker image to a docker repository
  4. Deploy the Akka cluster on Kubernetes with statfulset
  5. Try out the scaling of Akka cluster

Technologies

Containers:
Container Orchestration:
Scala:

Blogs

References

Clone this wiki locally