- 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: - 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.