Delete Kubernetes Cluster
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
Firewalls and routes that were configured during cluster creation are also deleted.
Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
External Documentation
To learn more, visit the GCP documentation.
Parameters
Parameter | Description |
---|---|
Cluster | The name of the cluster to delete. |
Location | The name of the Google Compute Engine location in which the cluster resides. |
Project | The Google Developers Console project ID or project number. |
Example Output
{
"name": "operation-1674038758613-96a46b6d",
"zone": "us-central1",
"operationType": "DELETE_CLUSTER",
"status": "RUNNING",
"selfLink": "https://container.googleapis.com/v1/projects/my-project/locations/us-central1/operations/operation-1674038758613-96a46b6d",
"targetLink": "https://container.googleapis.com/v1/projects/my-project/locations/us-central1/clusters/my-cluster",
"startTime": "2023-01-18T10:45:58.613658812Z"
}
Workflow Library Example
Delete Kubernetes Cluster with Gcp and Send Results Via Email
Preview this Workflow on desktop