You can update a cluster via a Cloud Dataproc API clusters.patch request, using the Google Cloud SDK gcloud command-line tool, or from the Google Cloud Platform Console. You can delete a cluster via a Cloud Dataproc API clusters.delete request, using the gcloud command-line tool, or from the Google Cloud Platform Console.
Updating a cluster
The following cluster parameters can be updated:
- the number of standard worker nodes in a cluster—see Scaling clusters
- the number of preemptible worker nodes in a cluster— see Preemptible VMs
- whether to use graceful decommissioning to control shutting down a worker after its jobs are completed
- adding or deleting cluster labels
Deleting a cluster
gcloud commandTo delete a Cloud Dataproc cluster on the command line, use the Cloud SDK gcloud dataproc clusters delete command.
gcloud dataproc clusters delete cluster-name