Skip to content
Proud to collaborate with Microsoft for Startups

kubernetes.pvc.delete ​

Delete a namespaced Kubernetes PersistentVolumeClaim (note: underlying PV may be retained or deleted based on reclaim policy)

Deletes a PersistentVolumeClaim. Swallows 404.

Note: the underlying PV may be retained or deleted based on the storage class reclaim policy — this workflow does not control that behaviour.

Inputs:

  • connection_uuid: Cloud connection UUID (required)
  • namespace: Target namespace (required)
  • name: PVC name (required)
  • grace_period_seconds: Seconds to wait before forced deletion (optional)

Outputs:

  • connection_uuid, namespace, name, existed: bool

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-kubernetes
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes——
namespacestringYes——
namestringYes——
grace_period_secondsintegerNo——
workflow_run_idstringNo—Engine workflow run id for DAG step execution
organization_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo——
organization_uuiduuidNo——
namespacestringNo——
namestringNo——
existedbooleanNo——
grace_period_secondsintegerNo——
workflow_run_idstringNo—Engine workflow run id for DAG step execution
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.pvc.delete",
  "initial_data": {
    "connection_uuid": "value",
    "namespace": "value",
    "name": "value"
  }
}