Reputation: 65
I'm getting this error when deleting a cluster from GKE.
Google Compute Engine: The subnetwork resource 'projects/abc-cluster-abc/regions/us-east1/subnetworks/sub-network-1' is already being used by 'projects/abc-cluster-abc/zones/us-east1-d/instances/gke-qa-cluster-pool-1-abc-xyz'
How to delete it? Please help us out.
Upvotes: 1
Views: 2978
Reputation: 873
You can delete a GKE cluster by 2 simple ways
1. BY gcloud
2. BY Console
1.
gcloud container clusters delete [CLUSTER_NAME]
--> By choosing the cluster to select your gke cluster and select shutdown to Delete(or)Remove
Upvotes: -1