Kubernetes · Arazzo Workflow
Kubernetes Retire an Application from a Namespace
Version 1.0.0
Find an application's deployment, remove its service and deployment, and confirm the pods are gone.
View Spec
View on GitHub
AutomationCloud-NativeCNCFContainersDeploymentOpen-SourceOrchestrationScalingArazzoWorkflows
Provider
Workflows
retire-application
Delete an application's service and deployment from a shared namespace.
Lists the namespace's deployments to locate the target, reads it for a record of what is being retired, deletes the service and then the deployment, and lists the remaining pods to confirm the cascade.
1
findDeployment
List the namespace's deployments narrowed to the application's label so the retirement targets only the intended workload.
2
readDeployment
Read the deployment for a record of the image and replica count being retired, which is what a rollback would need to recreate it.
3
deleteService
Delete the fronting service first so traffic stops being routed before the backends go away. A LoadBalancer service also deprovisions its cloud load balancer here.
4
deleteDeployment
Delete the deployment. Its ReplicaSet and pods are garbage-collected via their ownerReferences and terminate gracefully.
5
confirmPodsGone
List the pods still carrying the application's label to confirm the cascade removed them. Pods may briefly remain while terminating.
Source API Descriptions
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.