Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Patroni 4.x #1050

Merged
merged 6 commits into from
Dec 6, 2024
Merged

Integrate Patroni 4.x #1050

merged 6 commits into from
Dec 6, 2024

Conversation

idanovinda
Copy link
Member

@idanovinda idanovinda commented Nov 15, 2024

Release notes: https://github.com/patroni/patroni/blob/master/docs/releases.rst#version-400

With the release of Patroni 4.x, the role terminology has changed from "master" to "primary." To maintain backward compatibility and consistency, this PR ensures that Spilo continues to use "master" as the role label by default.

This is achieved by configuring the following parameters:

  • kubernetes.leader_label_value: Set to "master"
  • kubernetes.standby_leader_label_value: Set to "master"

This update maintains existing behavior without breaking current label usage.

@hughcapet
Copy link
Member

👍

1 similar comment
@idanovinda
Copy link
Member Author

👍

@idanovinda idanovinda merged commit 518d2f6 into master Dec 6, 2024
5 of 7 checks passed
@idanovinda idanovinda deleted the patroni-4x branch December 6, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants