Skip to content
Proud to collaborate with Microsoft for Startups

kubernetes.poddisruptionbudget.list ​

Enumerate PodDisruptionBudgets, flagging any that block a drain

List PodDisruptionBudgets in a namespace, flagging any currently refusing evictions.

Inputs:

  • connection_uuid: Cloud connection UUID (required)
  • namespace: Target namespace (required)
  • label_selector: Optional kubectl-style label selector

Outputs:

  • items: list of {name, namespace, min_available, max_unavailable, selector, current_healthy, desired_healthy, expected_pods, disruptions_allowed, blocks_drain, labels, created_at}
  • count: int
  • blocking_count: int — budgets with disruptions_allowed == 0

Plugin required: policy_v1 with list_namespaced_pod_disruption_budget.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-kubernetes
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes——
namespacestringYes——
label_selectorstringNo——
organization_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo——
organization_uuiduuidNo——
namespacestringNo——
label_selectorstringNo——
itemsjsonNo——
countintegerNo——
blocking_countintegerNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "kubernetes.poddisruptionbudget.list",
  "initial_data": {
    "connection_uuid": "value",
    "namespace": "value"
  }
}