cluster.delete-aks ​
Delete a AKS cluster through base Azure primitives.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-clusters-azure |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Organization UUID for audit and future connection cleanup. |
azure_connection_uuid | uuid | Yes | — | Azure CloudConnection UUID used for provider API calls. |
kubernetes_connection_uuid | uuid | No | — | Kubernetes CloudConnection UUID associated with the cluster. |
resource_group | string | Yes | — | Azure resource group. |
location | string | Yes | — | AKS region or zone. |
cluster_name | string | Yes | — | AKS cluster name. |
force | boolean | No | — | Allow delete even when pre-delete describe reports non-ready status. |
timeout_seconds | integer | No | — | Provider operation wait timeout. |
poll_interval | integer | No | — | Provider operation poll interval. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Echoed organization UUID. |
azure_connection_uuid | uuid | No | — | Azure CloudConnection UUID used. |
kubernetes_connection_uuid | uuid | No | — | Associated Kubernetes CloudConnection UUID. |
resource_group | string | No | — | Azure resource group. |
location | string | No | — | AKS region or zone. |
cluster_name | string | No | — | Deleted cluster name. |
force | boolean | No | — | Allow delete even when pre-delete describe reports non-ready status. |
timeout_seconds | integer | No | — | Provider operation wait timeout. |
poll_interval | integer | No | — | Provider operation poll interval. |
workflow_run_uuid | string | No | — | Engine DAG run UUID for child step state. |
retried_from | string | No | — | Previous terminal state restored by engine retry. |
retry_count | integer | No | — | Number of retry attempts recorded by the engine. |
deleted | boolean | No | — | Whether the cluster was deleted or already absent. |
existed | boolean | No | — | Whether the cluster existed before delete. |
cluster_describe | json | No | — | Output from azure.aks.cluster.describe. |
delete_cluster | json | No | — | Output from azure.aks.cluster.delete. |
wait_delete | json | No | — | Output from azure.aks.operation.wait. |
compensation_trigger | json | No | — | DAG compensation trigger. |
comp_current_layer | json | No | — | Current compensation layer. |
comp_queue | json | No | — | Remaining compensation queue. |
comp_retry_count | json | No | — | Current compensation retry count. |
failure_reason | string | No | — | Engine failure reason. |
failed_step | json | No | — | Failed DAG step. |
failed_layer | json | No | — | Failed DAG layer. |
failed_at_state | json | No | — | Failed state metadata. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | preflight | azure.aks.cluster.describe | — |
| 2 | delete | azure.aks.cluster.delete | — |
| 3 | wait | azure.aks.operation.wait | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
azure.aks.cluster.describe | cluster_describe |
azure.aks.cluster.delete | delete_cluster |
azure.aks.operation.wait | wait_delete |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "cluster.delete-aks",
"initial_data": {
"azure_connection_uuid": "value",
"resource_group": "value",
"location": "value",
"cluster_name": "value"
}
}