zentol commented on a change in pull request #10982: [FLINK-15683][docs] 
Restructure Configuration page
URL: https://github.com/apache/flink/pull/10982#discussion_r373405316
 
 

 ##########
 File path: docs/ops/config.md
 ##########
 @@ -23,213 +23,407 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-**For single-node setups Flink is ready to go out of the box and you don't 
need to change the default configuration to get started.**
+All configuration is done in `conf/flink-conf.yaml`, which is expected to be a 
flat collection of [YAML key value 
pairs](http://www.yaml.org/spec/1.2/spec.html) with format `key: value`.
+
+The configuration is parsed and evaluated when the Flink processes are 
started. Changes to the configuration file require restarting the relevant 
processes.
 
 The out of the box configuration will use your default Java installation. You 
can manually set the environment variable `JAVA_HOME` or the configuration key 
`env.java.home` in `conf/flink-conf.yaml` if you want to manually override the 
Java runtime to use.
 
-This page lists the most common options that are typically needed to set up a 
well performing (distributed) installation. In addition a full list of all 
available configuration parameters is listed here.
+* This will be replaced by the TOC
+{:toc}
 
-All configuration is done in `conf/flink-conf.yaml`, which is expected to be a 
flat collection of [YAML key value 
pairs](http://www.yaml.org/spec/1.2/spec.html) with format `key: value`.
+# Basic Setup
 
-The system and run scripts parse the config at startup time. Changes to the 
configuration file require restarting the Flink JobManager and TaskManagers.
+The default configuration supports starting a single-node Flink session 
cluster without any changes.
+The options in this section are the ones most commonly needed for a basic 
distributed Flink setup.
 
-The configuration files for the TaskManagers can be different, Flink does not 
assume uniform machines in the cluster.
+**Hostnames / Ports**
 
-* This will be replaced by the TOC
-{:toc}
+These options are only necessary for a *standalone* application- or session 
deployments ([simple 
standalone]({{site.baseurl}}/ops/deployment/cluster_setup.html) or 
[Kubernetes]({{site.baseurl}}/ops/deployment/kubernetes.html)).
 
-## Common Options
+If you use Flink with [Yarn]({{site.baseurl}}/ops/deployment/yarn_setup.html), 
[Mesos]({{site.baseurl}}/ops/deployment/mesos.html), or the [*active* 
Kubernetes 
integration]({{site.baseurl}}/ops/deployment/native_kubernetes.html), the 
hostnames and ports get automatically configured are automatically discovered.
 
-{% include generated/common_section.html %}
+  - `rest.address`, `rest.port`: These are used by the client to connect to 
Flink. Set this to the hostname where the master (JobManager) runs, or to the 
hostname of the (Kubernetes) service in front of the Flink Master's REST 
interface.
 
-## Full Reference
+  - The `jobmanager.rpc.address` (defaults to *"localhost"*) and 
`jobmanager.rpc.port` (defaults to *6123*) config entries are used by the 
TaskManager to connect to the JobManager/ResourceManager. Set this to the 
hostname where the master (JobManager) runs, or to the hostname of the 
(Kubernetes internal) service for the Flink master (JobManager). This option is 
ignored on [setups with 
high-availability]({{site.baseurl}}/ops/jobmanager_high_availability.html) 
where the leader election mechanism is used to discover this automatically.
 
-### Core
+**Memory Sizes** 
 
-{% include generated/core_configuration.html %}
+The default memory sizes support simple streaming/batch applications, but are 
too low to yield good performance on more complex applications.
 
 Review comment:
   ```suggestion
   The default memory sizes support simple streaming/batch applications, but 
are too low to yield good performance for more complex applications.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to