postgres-operator/docs
Juhani Pelli 4c1bb1c0ea
Use maxUnavailable for the critical-op PDB to stop idle alert noise (#3141)
* Use maxUnavailable for the critical-op PDB to stop idle alert noise

The critical-op PDB is created with minAvailable equal to
numberOfInstances while its selector (critical-operation=true) matches
no pods during normal operation. This leaves status.desiredHealthy at N
and currentHealthy at 0 permanently, so monitoring stacks fire alerts
like kube-prometheus-stack's KubePdbNotEnoughHealthyPods for every idle
cluster (#3020).

maxUnavailable: 0 provides the same protection while a critical
operation is running - no voluntary evictions of labeled pods - but
keeps the budget satisfied (desiredHealthy 0) when nothing matches.
When PDBs are disabled or there are no instances, the budget relaxes to
maxUnavailable 100% instead of minAvailable 0.

Fixes #3020

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Update PDB docs for critical-op maxUnavailable semantics

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Clarify why the two PDBs use different budget fields

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2026-07-27 17:36:42 +02:00
..
diagrams Improve appearance of Readme image in github dark mode (#2431) 2023-10-16 11:54:51 +02:00
reference change volume specs to int32 and define max iops and throughput values (#3139) 2026-07-27 16:32:22 +02:00
administrator.md Use maxUnavailable for the critical-op PDB to stop idle alert noise (#3141) 2026-07-27 17:36:42 +02:00
developer.md update docker build commands in Makefiles to use buildx (#3137) 2026-07-23 16:24:23 +02:00
index.md Update the link to a post (#2360) 2023-08-01 11:01:43 +02:00
migrate.md drop deprecated fields from Postgresql CRD (#3106) 2026-07-02 16:53:03 +02:00
operator-ui.md docs: fix broken links (#1594) 2021-10-18 16:50:27 +02:00
quickstart.md DOC: Minikube has many drivers now, incl. Docker (#2949) 2025-10-14 13:50:11 +02:00
user.md remove gp3 migration flow (#3142) 2026-07-27 14:02:44 +02:00