← GKE410 / 640
hardgcloud

Remove a node pool from a GKE cluster and drain its nodes

command

gcloud container node-pools delete POOL_NAME --cluster CLUSTER_NAME --zone ZONE

also accepted

gcloud container node-pools delete

Command breakdown

Part of the Google Cloud CLI (gcloud) — GKE category.

gcloudcontainernode-poolsdeletePOOL_NAME--clusterCLUSTER_NAME--zoneZONE
FlagPurpose
--clusterBoolean flag
--zoneBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →