NAME
gcluster job cancel - cancels a job in the cluster.
SYNOPSIS
gcluster job cancel JOB_NAME [FLAGS]
DESCRIPTION
The gcluster job cancel command cancels a running workload (job) in the
cluster.
POSITIONAL ARGUMENTS
JOB_NAME- The name of the job to cancel.
PERSISTENT FLAGS
These flags are available to all
gcluster job commands:
-c,--cluster CLUSTER_NAME: The name of the GKE cluster.-l,--location LOCATION: The location, either a region or a zone, of the GKE cluster.-p,--project PROJECT_ID: The Google Cloud project ID.--gke-namespace NAMESPACE: The target GKE namespace for the operation.--skip-prereqs: Skips local environment prerequisite checks, such asgcloud,kubectl, anddockerauthentication.
EXAMPLES
To cancel a running job named train-job:
gcluster job cancel train-job \
--cluster=my-cluster \
--location=us-central1-a