Skip to content

[cluster]: don't fire HA alerts on replica clusters - #943

Open
Allex1 wants to merge 3 commits into
cloudnative-pg:mainfrom
Allex1:main
Open

[cluster]: don't fire HA alerts on replica clusters#943
Allex1 wants to merge 3 commits into
cloudnative-pg:mainfrom
Allex1:main

Conversation

@Allex1

@Allex1 Allex1 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

On a replica cluster the designated primary runs a WAL receiver, lowering the computed standby count by one, so CNPGClusterHAWarning fired permanently.
Gated both HA rules on cnpg_collector_replica_mode == 0 so they only fire on primary clusters.

@Allex1
Allex1 requested review from itay-grudev and phisco as code owners July 8, 2026 07:26
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. chart( cluster ) Related to the cluster chart labels Jul 8, 2026
@Allex1

Allex1 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

@itay-grudev @phisco May I get a CI workflow start and a review ?

Comment thread charts/cluster/Chart.yaml Outdated
Signed-off-by: Allex1 <Allex21ro@yahoo.com>
@Allex1

Allex1 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

@itay-grudev PTAL

@Allex1
Allex1 requested a review from a team as a code owner August 10, 2026 06:09
@Allex1

Allex1 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

@itay-grudev @phisco PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart( cluster ) Related to the cluster chart size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants