13 Clustering, part 2

This chapter covers

  • Bootstrapping a cluster in Kubernetes
  • Using Split Brain Resolver to automate shutting down nodes
  • Creating a singleton actor

In chapter 8, you learned how to create a cluster with seed nodes defined in the configuration. These are fixed IPs. Creating a cluster this way is practical, but it isn’t a setup you’ll use to go into production. This chapter starts with the same idea of fixed IPs to local deployment but uses the Akka Cluster Bootstrap module. You learn how to use this module to create an Akka cluster in Kubernetes using the Kubernetes API.

NOTE The source code for this example is available at www.manning .com/books/akka-in-action-second-edition or https://github.com/francis colopezsancho/akka-topics/tree/main/chapter13a ...

Get Akka in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.