This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 58c4be49001 [FLINK-28841][scripts][docs] Document dynamic properties
support
58c4be49001 is described below
commit 58c4be49001b37ebe1b972b4fb91116a2bb1fb62
Author: Chesnay Schepler <[email protected]>
AuthorDate: Mon Aug 15 13:37:46 2022 +0200
[FLINK-28841][scripts][docs] Document dynamic properties support
---
.../docs/deployment/resource-providers/standalone/docker.md | 11 +++++++++++
.../docs/deployment/resource-providers/standalone/docker.md | 12 ++++++++++++
.../deployment/resource-providers/standalone/overview.md | 13 +++++++++++++
3 files changed, 36 insertions(+)
diff --git
a/docs/content.zh/docs/deployment/resource-providers/standalone/docker.md
b/docs/content.zh/docs/deployment/resource-providers/standalone/docker.md
index e315eac3c6f..d7ccf678f1e 100644
--- a/docs/content.zh/docs/deployment/resource-providers/standalone/docker.md
+++ b/docs/content.zh/docs/deployment/resource-providers/standalone/docker.md
@@ -244,6 +244,17 @@ You can see that certain tags include the version of
Hadoop, e.g. (e.g. `-hadoop
Beginning with Flink 1.5, image tags that omit the Hadoop version correspond
to Hadoop-free releases of Flink
that do not include a bundled Hadoop distribution.
+### Passing configuration via via dynamic properties
+
+```sh
+$ docker run flink:{{< stable >}}{{< version >}}-scala{{< scala_version >}}{{<
/stable >}}{{< unstable >}}latest{{< /unstable >}} \
+ <jobmanager|standalone-job|taskmanager|historyserver> \
+ -D jobmanager.rpc.address=host \
+ -D taskmanager.numberOfTaskSlots=3 \
+ -D blob.server.port=6124
+```
+
+Options set via dynamic properties overwrite the options from
`flink-conf.yaml`.
### Passing configuration via environment variables
diff --git
a/docs/content/docs/deployment/resource-providers/standalone/docker.md
b/docs/content/docs/deployment/resource-providers/standalone/docker.md
index f6cf9e752a7..4a0e2839653 100644
--- a/docs/content/docs/deployment/resource-providers/standalone/docker.md
+++ b/docs/content/docs/deployment/resource-providers/standalone/docker.md
@@ -474,6 +474,18 @@ $ docker build --tag pyflink:latest .
## Configuring Flink on Docker
+### Via dynamic properties
+
+```sh
+$ docker run flink:{{< stable >}}{{< version >}}-scala{{< scala_version >}}{{<
/stable >}}{{< unstable >}}latest{{< /unstable >}} \
+ <jobmanager|standalone-job|taskmanager|historyserver> \
+ -D jobmanager.rpc.address=host \
+ -D taskmanager.numberOfTaskSlots=3 \
+ -D blob.server.port=6124
+```
+
+Options set via dynamic properties overwrite the options from
`flink-conf.yaml`.
+
### Via Environment Variables
When you run Flink image, you can also change its configuration options by
setting the environment variable `FLINK_PROPERTIES`:
diff --git
a/docs/content/docs/deployment/resource-providers/standalone/overview.md
b/docs/content/docs/deployment/resource-providers/standalone/overview.md
index f31ecb42f6d..51d75db05d7 100644
--- a/docs/content/docs/deployment/resource-providers/standalone/overview.md
+++ b/docs/content/docs/deployment/resource-providers/standalone/overview.md
@@ -125,6 +125,19 @@ Local deployment in Session Mode has already been
described in the [introduction
All available configuration options are listed on the [configuration page]({{<
ref "docs/deployment/config" >}}), in particular the [Basic Setup]({{< ref
"docs/deployment/config" >}}#basic-setup) section contains good advise on
configuring the ports, memory, parallelism etc.
+The following scripts also allow configuration parameters to be set via
dynamic properties:
+* `jobmanager.sh`
+* `standalone-job.sh`
+* `taskmanager.sh`
+* `historyserver.sh`
+
+Example:
+```bash
+$ ./bin/jobmanager.sh start -D jobmanager.rpc.address=localhost -D
rest.port=8081
+```
+
+Options set via dynamic properties overwrite the options from
`flink-conf.yaml`.
+
### Debugging
If Flink is behaving unexpectedly, we recommend looking at Flink's log files
as a starting point for further investigations.