Kubernetes · Arazzo Workflow
Kubernetes Inventory and Tear Down a Namespace
Version 1.0.0
Record what a namespace contains, delete the namespace, and confirm it entered Terminating.
View Spec
View on GitHub
AutomationCloud-NativeCNCFContainersDeploymentOpen-SourceOrchestrationScalingArazzoWorkflows
Provider
Workflows
teardown-namespace
Inventory a namespace's workloads, then delete the namespace and confirm termination.
Captures the deployments, services, and pods a namespace holds, deletes the namespace so the cascade removes them all, and reads the namespace back to observe the Terminating phase and its finalizers.
1
inventoryDeployments
List the deployments about to be destroyed by the namespace cascade, so the teardown leaves a record of the workloads that existed.
2
inventoryServices
List the services in the namespace. LoadBalancer services deprovision their cloud load balancers as part of the cascade.
3
inventoryPods
List the running pods so the record shows the live workload the teardown is about to terminate.
4
deleteNamespace
Delete the namespace. Every resource it scopes is deleted with it; the namespace stays in Terminating until the cascade completes.
5
confirmTerminating
Read the namespace back to confirm it is Terminating. A namespace stuck in this phase usually has a finalizer that has not been cleared.
Source API Descriptions
openapi
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.