gcloud_alpha_run_services_delete (1)
NAME
- gcloud alpha run services delete - delete a service
SYNOPSIS
-
gcloud alpha run services delete (SERVICE : --namespace=NAMESPACE) [--region=REGION] [--cluster=CLUSTER --cluster-location=CLUSTER_LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete a service.
POSITIONAL ARGUMENTS
-
-
- Service resource - Service to delete. The arguments in this group can be used to specify the attributes of this resource. This must be specified.
-
- SERVICE
-
ID of the service or fully qualified identifier for the service. This positional
must be specified if any of the other arguments in this group are specified.
- --namespace=NAMESPACE
-
Specific to Cloud Run on Kubernetes Engine: The Kubernetes namespace for the
service
- Service resource - Service to delete. The arguments in this group can be used to specify the attributes of this resource. This must be specified.
-
FLAGS
-
- --region=REGION
-
The region in which to create the service.
-
Cluster resource - Specific to Cloud Run on Kubernetes Engine: The Kubernetes
Engine cluster to connect to. The arguments in this group can be used to specify
the attributes of this resource. (NOTE) Some attributes are not given arguments
in this group but can be set in other ways. To set the [project] attribute:
provide the argument [--cluster] on the command line with a fully specified
name; set the property [run/cluster] with a fully specified name; provide the
argument [--project] on the command line; set the property [core/project].
-
- --cluster=CLUSTER
-
ID of the cluster or fully qualified identifier for the cluster.
- --cluster-location=CLUSTER_LOCATION
-
Specific to Cloud Run on Kubernetes Engine: The location of the cluster.
-
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To delete a service:
- $ gcloud alpha run services delete <service-name>
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support