Skip to content

docs: link to app-version from Deployment for rolling updates#3276

Open
He-Pin wants to merge 1 commit into
mainfrom
port/d1e577a8ba-app-version-deploy-doc
Open

docs: link to app-version from Deployment for rolling updates#3276
He-Pin wants to merge 1 commit into
mainfrom
port/d1e577a8ba-app-version-deploy-doc

Conversation

@He-Pin

@He-Pin He-Pin commented Jun 30, 2026

Copy link
Copy Markdown
Member

Motivation

The rolling-updates docs explained the manual pekko.cluster.app-version setting but did not mention that Pekko Management can derive it automatically from a Kubernetes Deployment, so users on Kubernetes bumped the version by hand unnecessarily.

Modification

Add a paragraph to the rolling-updates page pointing to the app-version from Deployment feature in Pekko Management, which sets app-version from the Kubernetes deployment.kubernetes.io/revision annotation.

The upstream commit also touched deploying.md and added a #kubernetes-rolling-updates anchor to an existing link in rolling-updates.md, but pekko's deploying.md has diverged (no matching "Rolling updates" section) and pekko's corresponding rolling-updates.md text was rewritten without that link, so only the new app-version paragraph applies here.

Result

Users running on Kubernetes Deployments are pointed to the automatic app-version mechanism instead of bumping it manually.

which is now Apache licensed

Tests

Not run - docs only. sbt "docs/paradox" builds successfully and the pekko-management:rolling-updates.html#app-version-from-deployment extref resolves to a real anchor in Pekko Management.

References

Ports akka/akka-core@d1e577a8ba (akka#31942), which is now Apache licensed.

@He-Pin He-Pin marked this pull request as ready for review June 30, 2026 08:54
@pjfanning

Copy link
Copy Markdown
Member

This won't work. We have no release with the pekko management changes. We would have to change the sbt setup in this repo to link pekko management docs to last management milestone release which may or may not have these docs. I'm travelling today so don't much access to check. We may even need to point to the snapshot docs for Pekko management.

@He-Pin

He-Pin commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

yes need thanks

@He-Pin He-Pin marked this pull request as draft June 30, 2026 11:57
@He-Pin

He-Pin commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Fixed: added a pekko-management-snapshot extref prefix in project/Paradox.scala pointing to .../pekko-management/snapshot/%s, and changed the link to use it. sbt "docs/paradox" builds clean and the generated link resolves to https://pekko.apache.org/docs/pekko-management/snapshot/rolling-updates.html#app-version-from-deployment.

He-Pin added a commit that referenced this pull request Jul 1, 2026
Motivation:
The rolling-updates page links to the pekko-management "app-version from
Deployment" section, but that page does not exist in any released version
of pekko-management yet, so the extref resolved to a broken link.

Modification:
Add a `pekko-management-snapshot` extref prefix in Paradox.scala pointing
to the snapshot docs URL, and use it for the new link.

Result:
The generated link resolves to
https://pekko.apache.org/docs/pekko-management/snapshot/rolling-updates.html#app-version-from-deployment
which is the correct target until a pekko-management release ships the page.

Tests:
sbt "docs/paradox" builds successfully; generated HTML verified.

References:
Fixes review feedback on #3276.
He-Pin added a commit that referenced this pull request Jul 1, 2026
Motivation:
The rolling-updates page links to the pekko-management "app-version from
Deployment" section, but that page does not exist in any released version
of pekko-management yet, so the extref resolved to a broken link.

Modification:
Add a `pekko-management-snapshot` extref prefix in Paradox.scala pointing
to the snapshot docs URL, and use it for the new link.

Result:
The generated link resolves to
https://pekko.apache.org/docs/pekko-management/snapshot/rolling-updates.html#app-version-from-deployment
which is the correct target until a pekko-management release ships the page.

Tests:
sbt "docs/paradox" builds successfully; generated HTML verified.

References:
Fixes review feedback on #3276.
@He-Pin He-Pin force-pushed the port/d1e577a8ba-app-version-deploy-doc branch from 7bd6b04 to c0e7a0f Compare July 1, 2026 13:29
Motivation:
The rolling-updates docs explained the manual pekko.cluster.app-version
setting but did not mention that Pekko Management can derive it automatically
from a Kubernetes Deployment.

Modification:
- Add a paragraph pointing to the app-version from Deployment feature
  in Pekko Management
- Add a pekko-management-snapshot extref prefix for the link target

Result:
Users on Kubernetes are pointed to the automatic app-version mechanism.

Refs #3276
@He-Pin He-Pin force-pushed the port/d1e577a8ba-app-version-deploy-doc branch from c0e7a0f to 58d95d4 Compare July 6, 2026 16:48
@He-Pin He-Pin requested a review from pjfanning July 6, 2026 16:54
@He-Pin He-Pin marked this pull request as ready for review July 6, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants