mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 20:36:39 +00:00
80 lines
2.7 KiB
Text
80 lines
2.7 KiB
Text
NAME
|
|
gcloud alpha managed-flink jobs update - update the parallelism of a Flink
|
|
job
|
|
|
|
SYNOPSIS
|
|
gcloud alpha managed-flink jobs update JOBID --location=LOCATION
|
|
[--project=PROJECT_ID] [--async]
|
|
[--autotuning-mode=AUTOTUNING_MODE; default="elastic"]
|
|
[--deployment=DEPLOYMENT_NAME] [--enable-output]
|
|
[--max-parallelism=MAX_PARALLELISM] [--min-parallelism=MIN_PARALLELISM]
|
|
[--parallelism=PARALLELISM] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Update the parallelism of a Flink job.
|
|
|
|
EXAMPLES
|
|
The following command updates a Flink Job with the ID example-job-id to
|
|
change max parallesim to 4:
|
|
|
|
$ gcloud alpha managed-flink jobs update example-job-id \
|
|
--project=example-project --location=us-central1 \
|
|
--autotuning-mode elastic --min-parallelism=1 \
|
|
--max-parallelism=4 \
|
|
|
|
POSITIONAL ARGUMENTS
|
|
JOBID
|
|
The id of the job.
|
|
|
|
REQUIRED FLAGS
|
|
--location=LOCATION
|
|
The location to run the job in.
|
|
|
|
COMMONLY USED FLAGS
|
|
--project=PROJECT_ID
|
|
Project to update the job in. Overrides the default core/project
|
|
property value for this command invocation.
|
|
|
|
OTHER FLAGS
|
|
--async
|
|
Return immediately after job submission.
|
|
|
|
--autotuning-mode=AUTOTUNING_MODE; default="elastic"
|
|
Selects the autotuning mode for jobs. AUTOTUNING_MODE must be one of:
|
|
|
|
elastic
|
|
The number of taskmanagers is scaled automatically according to
|
|
workload.
|
|
fixed
|
|
The number of taskmanagers is fixed.
|
|
|
|
--deployment=DEPLOYMENT_NAME
|
|
Deployment to update the job in.
|
|
|
|
--enable-output
|
|
Shows the output of the Flink client.
|
|
|
|
--max-parallelism=MAX_PARALLELISM
|
|
The maximum parallelism of the job when in "elastic" autotuning mode.
|
|
|
|
--min-parallelism=MIN_PARALLELISM
|
|
The minimum parallelism of the job when in "elastic" autotuning mode.
|
|
This will also be the initial parallelism of the job.
|
|
|
|
--parallelism=PARALLELISM
|
|
The parallelism of the job when in "fixed" autotuning mode.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist.
|
|
|