1u0 commented on a change in pull request #8741: [FLINK-12752] Add Option to
Pass Seed for JobID Hash for StandaloneJobClusterEntrypoint
URL: https://github.com/apache/flink/pull/8741#discussion_r298943500
##########
File path: flink-container/kubernetes/README.md
##########
@@ -1,75 +1,124 @@
-# Apache Flink job cluster deployment on Kubernetes
+# Apache Flink Job Cluster Deployment on Kubernetes
-## Build container image using Docker
+## Job Cluster Container Images
-In order to deploy a job cluster on Kubernetes, you first need to build a
Docker image containing Flink and the user code jar.
-Please follow the instructions you can find [here](../docker/README.md) to
build a job container image.
+In order to deploy a Job Cluster on Kubernetes, you first need to build a
Docker image containing
+Flink and the user code jar. Please follow the instructions you can find
[here](../docker/README.md)
+to build a job container image.
-## Deploy Flink job cluster
+## Flink Job Cluster Deployment on Kubernetes
-This directory contains a predefined K8s service and two template files for
the job cluster entry point and the task managers.
+This directory contains three Kubernetes resource definitions:
-The K8s service is used to let the cluster pods find each other.
-If you start the Flink cluster in HA mode, then this is not necessary, because
the HA implementation is used to detect leaders.
+* Kubernetes Job for the Job Cluster entrypoint
+* Kubernetes Deployment for the Task Managers
+* Kubernetes Service backed by the Job Cluster Pod
-In order to use the template files, please replace the `${VARIABLES}` in the
file with concrete values.
-The files contain the following variables:
+**Kubernetes Job for the Job Cluster Entrypoint**
+The Kubernetes Job for the Job Cluster entrypoint will start & restart the Job
Cluster until the Job
+has reached a terminal state (e.g. CANCELLED).
+
+In case of a high-availability setup (needs to be configured in the Flink
configuration) the
+previous job will be recovered from the latest checkpoint. For recovery the
JobID of the Flink Job
+needs to be stable over the lifetime of the the Kubernetes Job. For this, the
JobID is seeded with
Review comment:
Typo: `the the Kubernetes Job`.
----------------------------------------------------------------
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