1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 15:39:42 +00:00

gcloud: Wed Sep 28 10:27:48 UTC 2022

This commit is contained in:
Automated 2022-09-28 10:27:48 +00:00
parent 29683b8af4
commit ffb9e43995
Failed to extract signature
198 changed files with 4783 additions and 367 deletions

View file

@ -18,27 +18,27 @@ DESCRIPTION
EXAMPLES
To resize a cluster, run:
$ gcloud dataproc clusters update my_cluster --region=us-central1 \
$ gcloud dataproc clusters update my-cluster --region=us-central1 \
--num-workers=5
To change the number preemptible workers in a cluster, run:
$ gcloud dataproc clusters update my_cluster --region=us-central1 \
$ gcloud dataproc clusters update my-cluster --region=us-central1 \
--num-preemptible-workers=5
To add the label 'customer=acme' to a cluster, run:
$ gcloud dataproc clusters update my_cluster --region=us-central1 \
$ gcloud dataproc clusters update my-cluster --region=us-central1 \
--update-labels=customer=acme
To update the label 'customer=ackme' to 'customer=acme', run:
$ gcloud dataproc clusters update my_cluster --region=us-central1 \
$ gcloud dataproc clusters update my-cluster --region=us-central1 \
--update-labels=customer=acme
To remove the label whose key is 'customer', run:
$ gcloud dataproc clusters update my_cluster --region=us-central1 \
$ gcloud dataproc clusters update my-cluster --region=us-central1 \
--remove-labels=customer
POSITIONAL ARGUMENTS