Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/src/main/paradox/additional/rolling-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ pekko.cluster.app-version = 1.2.3
To understand which is old and new it compares the version numbers using normal conventions,
see @apidoc[util.Version] for more details.

When using [Kubernetes Deployments](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) with `RollingUpdate`
strategy you should enable the @extref:[app-version from Deployment feature from Pekko Management](pekko-management-snapshot:rolling-updates.html#app-version-from-deployment)
to automatically define the `app-version` from the Kubernetes `deployment.kubernetes.io/revision` annotation.

Rebalance is also disabled during rolling updates, since shards from stopped nodes are anyway supposed to be
started on new nodes. Messages to shards that were stopped on the old nodes will allocate corresponding shards
on the new nodes, without waiting for rebalance actions.
Expand Down
1 change: 1 addition & 0 deletions project/Paradox.scala
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ object Paradox {
.url(version.value), // for links like this: @github[#1](#1) or @github[83986f9](83986f9)
"extref.pekko.http.base_url" -> s"$pekkoBaseURL/docs/pekko-http/current/%s",
"extref.pekko-management.base_url" -> s"$pekkoBaseURL/docs/pekko-management/current/%s",
"extref.pekko-management-snapshot.base_url" -> s"$pekkoBaseURL/docs/pekko-management/snapshot/%s",
"extref.platform-guide.base_url" -> "https://developer.lightbend.com/docs/akka-platform-guide/%s",
"extref.wikipedia.base_url" -> "https://en.wikipedia.org/wiki/%s",
"extref.github.base_url" -> (GitHub.url(version.value) + "/%s"), // for links to our sources
Expand Down
Loading