Repository navigation
orchestratord: Add PodDisruptionBudgets for balancerd and console - #40347
alex-hunt-materialize merged 2 commits into
Conversation
Each controller applies a PDB with maxUnavailable: 1 over its Deployment's pods, so node drains can't evict every replica at once. A single-replica PDB with maxUnavailable: 1 never blocks drains, so it is created unconditionally. Closes: CLO-395 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
QA LLM Review1. MEDIUM -- PDB blocks every eviction once all pods are unready, including the single-replica case
The new PDB leaves DetailsWith
Realistic triggers include a balancerd or console image that crashes on startup, and balancerd's Fix: set |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fixed in ea90e2a3bb: the PDB now sets |
rjimeno-mz
left a comment
There was a problem hiding this comment.
CI passes now. AlwaysAllow addresses the unhealthy-pod drain issue.
The balancerd and console Deployments had no PDB, so a drain could evict all replicas together. Each controller now applies a PDB with
maxUnavailable: 1over its Deployment's pods. It is created unconditionally, since at one replica it never blocks a drain. Externally scaled balancers get one too.The operator ClusterRole gains
policy/poddisruptionbudgets. Any RBAC managed outside the Helm chart needs the same rule.Tests: unit test
pdb_selects_deployment_pods, and PDB checks in theBalancerdEnabledandConsoleEnabledmodifications oftest/orchestratord/mzcompose.py.Closes: CLO-395
🤖 Generated with Claude Code