GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/6320
[FLINK-9823] Add Kubernetes deployment ymls ## What is the purpose of the change The Kubernetes files contain a job-cluster service specification, a job specification for the StandaloneJobClusterEntryPoint and a deployment for TaskManagers. This PR is based on #6319. cc @GJL ## Verifying this change - Tested manually ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no) - The S3 file system connector: (no) ## Documentation - Does this pull request introduce a new feature? (yes) - If yes, how is the feature documented? (README) You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink containerEntrypoint Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/6320.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #6320 ---- commit b798af824433657ca215f8598112094a23819ee0 Author: Till Rohrmann <trohrmann@...> Date: 2018-07-11T15:30:53Z [hotfix] Make PackagedProgram(Class<?>, String...) constructor public commit d373b6b01ec9d5b63513718a8e6b7db87629a477 Author: Till Rohrmann <trohrmann@...> Date: 2018-07-11T15:41:27Z [FLINK-9818] Add cluster component command line parser The cluster component command line parser is responsible for parsing the common command line arguments with which the cluster components are started. These include the configDir, webui-port and dynamic properties. commit 2526bcc69ff4eb3d196a4a7ceba2e59a7f455922 Author: Till Rohrmann <trohrmann@...> Date: 2018-07-09T21:54:55Z [FLINK-9488] Add container entry point StandaloneJobClusterEntryPoint The StandaloneJobClusterEntryPoint is the basic entry point for containers. It is started with the user code jar in its classpath and the classname of the user program. The entrypoint will then load this user program via the classname and execute its main method. This will generate a JobGraph which is then used to start the MiniDispatcher. commit 3b78e4099de1511bbe52c203fd2d05e5cfa03efa Author: Till Rohrmann <trohrmann@...> Date: 2018-07-10T09:24:26Z [FLINK-9819] Add startup scripts for standalone job cluster entry point commit 75fb8125e3ec270994628f46457b281cdb587874 Author: Till Rohrmann <trohrmann@...> Date: 2018-07-10T21:23:59Z [FLINK-9820] Forward dynamic properties to Flink configuration in ClusterEntrypoint With this commit we can use dynamic properties to overwrite configuration values in the ClusterEntrypoint. commit b38683205961c625e8c99eff1552ef5a8142ee89 Author: Till Rohrmann <trohrmann@...> Date: 2018-07-10T21:43:34Z [FLINK-9821] Forward dynamic properties to configuration in TaskManagerRunner With this commit we can use dynamic properties to overwrite configuration values in the TaskManagerRunner. commit 339a24fb2508c7f3cd041bc2cf9b15fd62980fcf Author: Till Rohrmann <trohrmann@...> Date: 2018-07-10T13:41:18Z [FLINK-9822] Add Dockerfile for StandaloneJobClusterEntryPoint image This commit adds a Dockerfile for a standalone job cluster image. The image contains the Flink distribution and a specified user code jar. The entrypoint will start the StandaloneJobClusterEntryPoint with the provided job classname. commit c0f8ce88a1e5ce877add31214d9b2674acfbc90f Author: Till Rohrmann <trohrmann@...> Date: 2018-07-10T22:52:08Z [FLINK-9823] Add Kubernetes deployment ymls The Kubernetes files contain a job-cluster service specification, a job specification for the StandaloneJobClusterEntryPoint and a deployment for TaskManagers. commit b32a8f4149fecf953d24bd62af56f8620b360610 Author: Till Rohrmann <trohrmann@...> Date: 2018-07-11T14:13:30Z [hotfix] Support building a job image from a Flink archive Extend the flink-container/docker/build.sh script to also accept a Flink archive to build the image from. This makes it easier to build an image from one of the convenience releases. ---- ---