gcloud compute sole-tenancy node-groups delete (original) (raw)

gcloud compute sole-tenancy node-groups delete

NAME

gcloud compute sole-tenancy node-groups delete - delete a Compute Engine node group

SYNOPSIS

gcloud compute sole-tenancy node-groups delete [NAME](#NAME) [[--zone](#--zone)=ZONE] [[GCLOUD_WIDE_FLAG](#GCLOUD-WIDE-FLAGS) …]

DESCRIPTION

Delete a Compute Engine node group.

EXAMPLES

To delete a node group, run:

gcloud compute sole-tenancy node-groups delete my-node-group

POSITIONAL ARGUMENTS

NAME

Name of the node group to operate on.

FLAGS

--zone=ZONE

Zone of the node group to operate on. If not specified and the`compute/zone` property isn't set, you might be prompted to select a zone (interactive mode only).

To avoid prompting when this flag is omitted, you can set the`compute/zone` property:

gcloud config set compute/zone ZONE

A list of zones can be fetched by running:

gcloud compute zones list

To unset the property, run:

gcloud config unset compute/zone

Alternatively, the zone can be stored in the environment variable`CLOUDSDK_COMPUTE_ZONE`.

GCLOUD WIDE FLAGS

These flags are available to all commands: [--access-token-file](/sdk/gcloud/reference#--access-token-file),[--account](/sdk/gcloud/reference#--account), [--billing-project](/sdk/gcloud/reference#--billing-project),[--configuration](/sdk/gcloud/reference#--configuration),[--flags-file](/sdk/gcloud/reference#--flags-file),[--flatten](/sdk/gcloud/reference#--flatten), [--format](/sdk/gcloud/reference#--format), [--help](/sdk/gcloud/reference#--help), [--impersonate-service-account](/sdk/gcloud/reference#--impersonate-service-account),[--log-http](/sdk/gcloud/reference#--log-http),[--project](/sdk/gcloud/reference#--project), [--quiet](/sdk/gcloud/reference#--quiet), [--trace-token](/sdk/gcloud/reference#--trace-token), [--user-output-enabled](/sdk/gcloud/reference#--user-output-enabled),[--verbosity](/sdk/gcloud/reference#--verbosity).

Run $ [gcloud help](/sdk/gcloud/reference) for details.

NOTES

These variants are also available:

gcloud alpha compute sole-tenancy node-groups delete
gcloud beta compute sole-tenancy node-groups delete
gcloud preview compute sole-tenancy node-groups delete

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-05-27 UTC.