Created
February 10, 2026 22:17
-
-
Save arubis/222f4eb2df815fa471b15d776d65fa41 to your computer and use it in GitHub Desktop.
single-node-chaos-hardening: remove PDB existence check (irrelevant to memory-pressure eviction)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/tasks/single-node-chaos-hardening/grader.py | |
| +++ b/tasks/single-node-chaos-hardening/grader.py | |
| @@ -130,13 +130,6 @@ def validate_setup(): | |
| if node_taints and not affinity_issues_found: | |
| feedback.append("All Tier 1/2 workloads compatible with node taints") | |
| - # --- PDB Existence Check --- | |
| - print("validating PDB existence") | |
| - for ns in ["argocd", "bleater", "monitoring"]: | |
| - rc, out = run(f"kubectl get pdb -n {ns} -o json") | |
| - pdbs = safe_json(out).get("items", []) if rc == 0 else [] | |
| - if not pdbs: | |
| - feedback.append(f"Namespace {ns} has no PodDisruptionBudgets") | |
| - all_ok = False | |
| - | |
| return {"all_ok": all_ok, "feedback": feedback} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment