Audit Kubernetes Resource Quotas
Daily quota-usage audit that alerts Slack when a namespace rides hot.
Audits Kubernetes PodDisruptionBudgets to detect zero-disruption locks that stall cluster upgrades and node drains.
This workflow queries all PodDisruptionBudget (PDB) objects across all cluster namespaces using kubectl. It inspects .status.disruptionsAllowed alongside .status.expectedPods. Any PDB where disruptionsAllowed is 0 while workloads exist will deadlock Kubernetes node draining, preventing cluster maintenance or autoscaling. When violations exceed the threshold, an automated Slack alert is dispatched.
get and list on poddisruptionbudgets.policy.SLACK_WEBHOOK configured in Kestra.SLACK_WEBHOOK secret.