Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Conversation

eed3si9n
Copy link
Contributor

@eed3si9n eed3si9n commented Feb 1, 2019

This PR is on top of #194

This generates the YAML for Akka Cluster Boostrap under Kubernetes using DNS as described in Akka Management 0.20.0 documentation.

/cc @lightbend/play-team

Fixes #183

For the purpose of Akka Cluster Bootstrap, a specialized label `akka.lightbend.com/service-name` defined. This denotes the Akka Cluster to join when a pod comes up.

- The value of the this label will default to either the app name or the app version name depending on the deployment type.
- It can be overridden by user using `akkaClusterBootstrapSystemName` setting as described in https://developer.lightbend.com/docs/lightbend-orchestration/current/features/akka-cluster-bootstrap.html.
- Deployment pods are labeled with `"akka.lightbend.com/service-name": "friendimpl"` etc
- The label selector is overridden as `-Dakka.discovery.kubernetes-api.pod-label-selector=akka.lightbend.com/service-name=%s` (as opposed to using `app=%s`)
- The effective name is overridden as `-Dakka.management.cluster.bootstrap.contact-point-discovery.effective-name=friendimpl` etc
This implemets YAML generation for Akka Cluster Boostrap using DNS.
@eed3si9n eed3si9n requested review from TimMoore and cunei February 1, 2019 20:56
@ghost ghost assigned eed3si9n Feb 1, 2019
@ghost ghost added the review label Feb 1, 2019
@eed3si9n eed3si9n merged commit e39f1c3 into master Feb 4, 2019
@eed3si9n eed3si9n deleted the wip/dns branch February 4, 2019 16:24
@ghost ghost removed the review label Feb 4, 2019
@TimMoore
Copy link

TimMoore commented Feb 4, 2019

This will need documentation as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants