You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/06 12:29:55 UTC

[GitHub] [flink] wangyang0918 opened a new pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

wangyang0918 opened a new pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777
 
 
   <!--
   *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
   
   *Please understand that we do not do this to make contributions to Flink a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.*
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue.
     
     - Name the pull request in the form "[FLINK-XXXX] [component] Title of the pull request", where *FLINK-XXXX* should be replaced by the actual issue number. Skip *component* if you are unsure about which is the best component.
     Typo fixes that have no associated JIRA issue should be named following this pattern: `[hotfix] [docs] Fix typo in event time introduction` or `[hotfix] [javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Make sure that the change passes the automated tests, i.e., `mvn clean verify` passes. You can set up Travis CI to do that following [this guide](https://flink.apache.org/contributing/contribute-code.html#open-a-pull-request).
   
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message (including the JIRA id)
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   ## What is the purpose of the change
   
   Add document for running Flink cluster natively on Kubernetes
   ![image](https://user-images.githubusercontent.com/15904523/71817731-cfb83a00-30c1-11ea-9582-068c7100b563.png)
   
   
   ## Brief change log
   
   * Add document
   
   
   ## Verifying this change
   ```
   cd docs
   ./build_docs.sh
   ```
   View http://localhost:4000/ops/deployment/kubernetes.html.
   
   ## 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? (no)
     - If yes, how is the feature documented? (not applicable)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571874603
 
 
   @aljoscha @sjwiesman Thanks for your review and suggestion. The changes make many sense to me. I just add a fixup and hotfix. Please take a look.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
wangyang0918 edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571491538
 
 
   @aljoscha I have run all the commands in the doc. Please take a look at your convenience. Thanks a lot.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#discussion_r364172284
 
 

 ##########
 File path: docs/ops/deployment/native_kubernetes.md
 ##########
 @@ -0,0 +1,199 @@
+---
+title:  "Native Kubernetes Setup"
+nav-title: Native Kubernetes
+nav-parent_id: deployment
+is_beta: true
+nav-pos: 7
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+This page describes how to deploy a Flink session cluster natively on [Kubernetes](https://kubernetes.io).
+
+* This will be replaced by the TOC
+{:toc}
+
+<div class="alert alert-warning">
+Flink's native Kubernetes integration is still experimental. There may be changes in the configuration and CLI flags in latter versions. Job clusters are not yet supported.
+</div>
+
+## Requirements
+
+- Kubernetes 1.9 or above.
+- KubeConfig, which has access to list, create, delete pods and services, configurable via `~/.kube/config`. You can verify permissions by running `kubectl auth can-i <list|create|edit|delete> pods`.
+- Kubernetes DNS enabled.
+- A service Account with [RBAC](#rbac) permissions to create, delete pods.
+
+## Flink Kubernetes Session
+
+### Start Flink Session
+
+Follow these instructions to start a Flink Session within your Kubernetes cluster.
+
+A session will start all required Flink services (JobManager and TaskManagers) so that you can submit programs to the cluster.
+Note that you can run multiple programs per session.
+
+{% highlight bash %}
+$ ./bin/kubernetes-session.sh
+{% endhighlight %}
+
+All the Kubernetes configuration options can be found in our [configuration guide]({{ site.baseurl }}/ops/config.html#kubernetes).
+
+**Example**: Issue the following command to start a session cluster with 4 GB of memory and 2 CPUs with 4 slots per TaskManager:
+
+{% highlight bash %}
+./bin/kubernetes-session.sh \
+  -Dkubernetes.cluster-id=<ClusterId> \
+  -Dtaskmanager.memory.process.size=4096m \
+  -Dkubernetes.taskmanager.cpu=2 \
+  -Dtaskmanager.numberOfTaskSlots=4
+{% endhighlight %}
+
+The system will use the configuration in `conf/flink-conf.yaml`.
+Please follow our [configuration guide]({{ site.baseurl }}/ops/config.html) if you want to change something.
+
+If you do not specify a particular name for your session by `kubernetes.cluster-id`, the Flink client will generate a UUID name. 
+
+### Submitting jobs to an existing Session
+
+Use the following command to submit a Flink Job to the Kubernetes cluster.
+
+{% highlight bash %}
+$ ./bin/flink run -d -e kubernetes-session -Dkubernetes.cluster-id=<ClusterId> examples/streaming/WindowJoin.jar
+{% endhighlight %}
+
+### Accessing Job Manager UI
+
+There are several ways to expose a Service onto an external (outside of your cluster) IP address.
+This can be configured using `kubernetes.service.exposed.type`.
+
+- `ClusterIP`: Exposes the service on a cluster-internal IP.
+The Service is only reachable within the cluster. If you want to access the Job Manager ui or submit job to the existing session, you need to start a local proxy.
+You can then use `localhost:8081` to submit a Flink job to the session or view the dashboard.
+
+{% highlight bash %}
+$ kubectl port-forward service/<ServiceName> 8081
+{% endhighlight %} 
+
+- `NodePort`: Exposes the service on each Node’s IP at a static port (the `NodePort`). `<NodeIP>:<NodePort>` could be used to contact the Job Manager Service. `NodeIP` could be easily replaced with Kubernetes ApiServer address.
+You could find it in your kube config file.
+
+- `LoadBalancer`: Default value, exposes the service externally using a cloud provider’s load balancer.
+Since the cloud provider and Kubernetes needs some time to prepare the load balancer, you may get a `NodePort` JobManager Web Interface in the client log.
+You can use `kubectl get services/<ClusterId>` to get EXTERNAL-IP and then construct the load balancer JobManager Web Interface manually `http://<EXTERNAL-IP>:8081`. 
+
+- `ExternalName`: Map a service to a DNS name, not supported in current version.
+
+Please reference the official documentation on [publishing services in Kubernetes](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) for more information.
+
+### Attach to an existing Session
+
+The Kubernetes session is started in detached mode by default, meaning the Flink client will exit after submitting all the resources to the Kubernetes cluster. Use the following command to attach to an existing session.
+
+{% highlight bash %}
+$ ./bin/kubernetes-session.sh -Dkubernetes.cluster-id=<ClusterId> -Dexecution.attached=true
+{% endhighlight %}
+
+### Stop Flink Session
+
+To stop a Flink Kubernetes session, attach the Flink client to the cluster and type `stop`.
+
+{% highlight bash %}
+$ echo 'stop' | ./bin/kubernetes-session.sh -Dkubernetes.cluster-id=<ClusterId> -Dexecution.attached=true
+{% endhighlight %}
+
+#### Manual Resource Cleanup
+
+Flink uses [Kubernetes ownerReference's](https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/) to cleanup all cluster components.
+All the Flink created resources, including `ConfigMap`, `Service`, `Deployment`, `Pod`, have been set the ownerReference to `service/<ClusterId>`. 
+When the service is deleted, all other resource will be deleted automatically. 
 
 Review comment:
   resource -> resources

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#discussion_r364171026
 
 

 ##########
 File path: docs/ops/deployment/native_kubernetes.md
 ##########
 @@ -0,0 +1,199 @@
+---
+title:  "Native Kubernetes Setup"
+nav-title: Native Kubernetes
+nav-parent_id: deployment
+is_beta: true
+nav-pos: 7
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+This page describes how to deploy a Flink session cluster natively on [Kubernetes](https://kubernetes.io).
+
+* This will be replaced by the TOC
+{:toc}
+
+<div class="alert alert-warning">
+Flink's native Kubernetes integration is still experimental. There may be changes in the configuration and CLI flags in latter versions. Job clusters are not yet supported.
+</div>
+
+## Requirements
+
+- Kubernetes 1.9 or above.
+- KubeConfig, which has access to list, create, delete pods and services, configurable via `~/.kube/config`. You can verify permissions by running `kubectl auth can-i <list|create|edit|delete> pods`.
+- Kubernetes DNS enabled.
+- A service Account with [RBAC](#rbac) permissions to create, delete pods.
+
+## Flink Kubernetes Session
+
+### Start Flink Session
+
+Follow these instructions to start a Flink Session within your Kubernetes cluster.
+
+A session will start all required Flink services (JobManager and TaskManagers) so that you can submit programs to the cluster.
+Note that you can run multiple programs per session.
+
+{% highlight bash %}
+$ ./bin/kubernetes-session.sh
+{% endhighlight %}
+
+All the Kubernetes configuration options can be found in our [configuration guide]({{ site.baseurl }}/ops/config.html#kubernetes).
+
+**Example**: Issue the following command to start a session cluster with 4 GB of memory and 2 CPUs with 4 slots per TaskManager:
+
+{% highlight bash %}
+./bin/kubernetes-session.sh \
+  -Dkubernetes.cluster-id=<ClusterId> \
+  -Dtaskmanager.memory.process.size=4096m \
+  -Dkubernetes.taskmanager.cpu=2 \
+  -Dtaskmanager.numberOfTaskSlots=4
+{% endhighlight %}
+
+The system will use the configuration in `conf/flink-conf.yaml`.
+Please follow our [configuration guide]({{ site.baseurl }}/ops/config.html) if you want to change something.
+
+If you do not specify a particular name for your session by `kubernetes.cluster-id`, the Flink client will generate a UUID name. 
+
+### Submitting jobs to an existing Session
+
+Use the following command to submit a Flink Job to the Kubernetes cluster.
+
+{% highlight bash %}
+$ ./bin/flink run -d -e kubernetes-session -Dkubernetes.cluster-id=<ClusterId> examples/streaming/WindowJoin.jar
+{% endhighlight %}
+
+### Accessing Job Manager UI
+
+There are several ways to expose a Service onto an external (outside of your cluster) IP address.
+This can be configured using `kubernetes.service.exposed.type`.
+
+- `ClusterIP`: Exposes the service on a cluster-internal IP.
+The Service is only reachable within the cluster. If you want to access the Job Manager ui or submit job to the existing session, you need to start a local proxy.
+You can then use `localhost:8081` to submit a Flink job to the session or view the dashboard.
+
+{% highlight bash %}
+$ kubectl port-forward service/<ServiceName> 8081
+{% endhighlight %} 
+
+- `NodePort`: Exposes the service on each Node’s IP at a static port (the `NodePort`). `<NodeIP>:<NodePort>` could be used to contact the Job Manager Service. `NodeIP` could be easily replaced with Kubernetes ApiServer address.
+You could find it in your kube config file.
+
+- `LoadBalancer`: Default value, exposes the service externally using a cloud provider’s load balancer.
 
 Review comment:
   `Default value, exposes` -> `Default value exposes`?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] sjwiesman commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
sjwiesman commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#discussion_r364122253
 
 

 ##########
 File path: docs/ops/deployment/kubernetes.zh.md
 ##########
 @@ -28,6 +28,8 @@ This page describes how to deploy a Flink job and session cluster on [Kubernetes
 * This will be replaced by the TOC
 {:toc}
 
+{% info %} This page describes deploying a [standalone](#cluster_setup.html) Flink session on top of Kubernetes. For information on native Kubernetes deployments read [here]({{ site.baseurl }}/zh/ops/deployment/native_kubernetes.html).
 
 Review comment:
   ```suggestion
   {% info %} This page describes deploying a [standalone](#cluster_setup.html) Flink session on top of Kubernetes. For information on native Kubernetes deployments read [here]({{ site.baseurl }}/ops/deployment/native_kubernetes.html).
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571121954
 
 
   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit 438d2f3b04ba83f873e866b412ef6706d6fe715a (Mon Jan 06 12:32:29 UTC 2020)
   
   **Warnings:**
    * Documentation files were touched, but no `.zh.md` files: Update Chinese documentation or file Jira ticket.
   
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] aljoscha closed pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
aljoscha closed pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143428304 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:99e4e3b9fa2421a75d52b2b3806b481e12f46381 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4174 TriggerType:PUSH TriggerID:99e4e3b9fa2421a75d52b2b3806b481e12f46381
   Hash:99e4e3b9fa2421a75d52b2b3806b481e12f46381 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143503667 TriggerType:PUSH TriggerID:99e4e3b9fa2421a75d52b2b3806b481e12f46381
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   * 663db28aa8a3608e30de326e3a1f1c045bad3fba Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143428304) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171) 
   * 99e4e3b9fa2421a75d52b2b3806b481e12f46381 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143503667) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4174) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] sjwiesman commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
sjwiesman commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571963755
 
 
   You are correct, please disregard my comment. +1

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#discussion_r364171683
 
 

 ##########
 File path: docs/ops/deployment/native_kubernetes.md
 ##########
 @@ -0,0 +1,199 @@
+---
+title:  "Native Kubernetes Setup"
+nav-title: Native Kubernetes
+nav-parent_id: deployment
+is_beta: true
+nav-pos: 7
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+This page describes how to deploy a Flink session cluster natively on [Kubernetes](https://kubernetes.io).
+
+* This will be replaced by the TOC
+{:toc}
+
+<div class="alert alert-warning">
+Flink's native Kubernetes integration is still experimental. There may be changes in the configuration and CLI flags in latter versions. Job clusters are not yet supported.
+</div>
+
+## Requirements
+
+- Kubernetes 1.9 or above.
+- KubeConfig, which has access to list, create, delete pods and services, configurable via `~/.kube/config`. You can verify permissions by running `kubectl auth can-i <list|create|edit|delete> pods`.
+- Kubernetes DNS enabled.
+- A service Account with [RBAC](#rbac) permissions to create, delete pods.
+
+## Flink Kubernetes Session
+
+### Start Flink Session
+
+Follow these instructions to start a Flink Session within your Kubernetes cluster.
+
+A session will start all required Flink services (JobManager and TaskManagers) so that you can submit programs to the cluster.
+Note that you can run multiple programs per session.
+
+{% highlight bash %}
+$ ./bin/kubernetes-session.sh
+{% endhighlight %}
+
+All the Kubernetes configuration options can be found in our [configuration guide]({{ site.baseurl }}/ops/config.html#kubernetes).
+
+**Example**: Issue the following command to start a session cluster with 4 GB of memory and 2 CPUs with 4 slots per TaskManager:
+
+{% highlight bash %}
+./bin/kubernetes-session.sh \
+  -Dkubernetes.cluster-id=<ClusterId> \
+  -Dtaskmanager.memory.process.size=4096m \
+  -Dkubernetes.taskmanager.cpu=2 \
+  -Dtaskmanager.numberOfTaskSlots=4
+{% endhighlight %}
+
+The system will use the configuration in `conf/flink-conf.yaml`.
+Please follow our [configuration guide]({{ site.baseurl }}/ops/config.html) if you want to change something.
+
+If you do not specify a particular name for your session by `kubernetes.cluster-id`, the Flink client will generate a UUID name. 
+
+### Submitting jobs to an existing Session
+
+Use the following command to submit a Flink Job to the Kubernetes cluster.
+
+{% highlight bash %}
+$ ./bin/flink run -d -e kubernetes-session -Dkubernetes.cluster-id=<ClusterId> examples/streaming/WindowJoin.jar
+{% endhighlight %}
+
+### Accessing Job Manager UI
+
+There are several ways to expose a Service onto an external (outside of your cluster) IP address.
+This can be configured using `kubernetes.service.exposed.type`.
+
+- `ClusterIP`: Exposes the service on a cluster-internal IP.
+The Service is only reachable within the cluster. If you want to access the Job Manager ui or submit job to the existing session, you need to start a local proxy.
+You can then use `localhost:8081` to submit a Flink job to the session or view the dashboard.
+
+{% highlight bash %}
+$ kubectl port-forward service/<ServiceName> 8081
+{% endhighlight %} 
+
+- `NodePort`: Exposes the service on each Node’s IP at a static port (the `NodePort`). `<NodeIP>:<NodePort>` could be used to contact the Job Manager Service. `NodeIP` could be easily replaced with Kubernetes ApiServer address.
+You could find it in your kube config file.
+
+- `LoadBalancer`: Default value, exposes the service externally using a cloud provider’s load balancer.
+Since the cloud provider and Kubernetes needs some time to prepare the load balancer, you may get a `NodePort` JobManager Web Interface in the client log.
+You can use `kubectl get services/<ClusterId>` to get EXTERNAL-IP and then construct the load balancer JobManager Web Interface manually `http://<EXTERNAL-IP>:8081`. 
+
+- `ExternalName`: Map a service to a DNS name, not supported in current version.
 
 Review comment:
   `in current version` -> `in the current version`?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571955880
 
 
   @sjwiesman I am not sure whether we could remove `/zh`. Since i find lots of usage `{{ site.baseurl }}/zh` in the doc module and they works well. 
   
   https://ci.apache.org/projects/flink/flink-docs-master/zh/dev/api_concepts.html

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] sjwiesman commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
sjwiesman commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#discussion_r364122086
 
 

 ##########
 File path: docs/ops/deployment/native_kubernetes.zh.md
 ##########
 @@ -0,0 +1,199 @@
+---
+title:  "Native Kubernetes 安装"
+nav-title: Native Kubernetes
+nav-parent_id: deployment
+is_beta: true
+nav-pos: 7
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+This page describes how to deploy a Flink session cluster natively on [Kubernetes](https://kubernetes.io).
+
+* This will be replaced by the TOC
+{:toc}
+
+<div class="alert alert-warning">
+Flink's native Kubernetes integration is still experimental. There may be changes in the configuration and CLI flags in latter versions. Job clusters are not yet supported.
+</div>
+
+## Requirements
+
+- Kubernetes 1.9 or above.
+- KubeConfig, which has access to list, create, delete pods and services, configurable via `~/.kube/config`. You can verify permissions by running `kubectl auth can-i <list|create|edit|delete> pods`.
+- Kubernetes DNS enabled.
+- A service Account with [RBAC](#rbac) permissions to create, delete pods.
+
+## Flink Kubernetes Session
+
+### Start Flink Session
+
+Follow these instructions to start a Flink Session within your Kubernetes cluster.
+
+A session will start all required Flink services (JobManager and TaskManagers) so that you can submit programs to the cluster.
+Note that you can run multiple programs per session.
+
+{% highlight bash %}
+$ ./bin/kubernetes-session.sh
+{% endhighlight %}
+
+All the Kubernetes configuration options can be found in our [configuration guide]({{ site.baseurl }}/zh/ops/config.html#kubernetes).
+
+**Example**: Issue the following command to start a session cluster with 4 GB of memory and 2 CPUs with 4 slots per TaskManager:
+
+{% highlight bash %}
+./bin/kubernetes-session.sh \
+  -Dkubernetes.cluster-id=<ClusterId> \
+  -Dtaskmanager.memory.process.size=4096m \
+  -Dkubernetes.taskmanager.cpu=2 \
+  -Dtaskmanager.numberOfTaskSlots=4
+{% endhighlight %}
+
+The system will use the configuration in `conf/flink-conf.yaml`.
+Please follow our [configuration guide]({{ site.baseurl }}/zh/ops/config.html) if you want to change something.
 
 Review comment:
   ```suggestion
   Please follow our [configuration guide]({{ site.baseurl }}/ops/config.html) if you want to change something.
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143428304 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:99e4e3b9fa2421a75d52b2b3806b481e12f46381 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:99e4e3b9fa2421a75d52b2b3806b481e12f46381
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   * 663db28aa8a3608e30de326e3a1f1c045bad3fba Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143428304) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171) 
   * 99e4e3b9fa2421a75d52b2b3806b481e12f46381 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] sjwiesman commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
sjwiesman commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#discussion_r364122364
 
 

 ##########
 File path: docs/ops/deployment/native_kubernetes.zh.md
 ##########
 @@ -0,0 +1,199 @@
+---
+title:  "Native Kubernetes 安装"
+nav-title: Native Kubernetes
+nav-parent_id: deployment
+is_beta: true
+nav-pos: 7
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+This page describes how to deploy a Flink session cluster natively on [Kubernetes](https://kubernetes.io).
+
+* This will be replaced by the TOC
+{:toc}
+
+<div class="alert alert-warning">
+Flink's native Kubernetes integration is still experimental. There may be changes in the configuration and CLI flags in latter versions. Job clusters are not yet supported.
+</div>
+
+## Requirements
+
+- Kubernetes 1.9 or above.
+- KubeConfig, which has access to list, create, delete pods and services, configurable via `~/.kube/config`. You can verify permissions by running `kubectl auth can-i <list|create|edit|delete> pods`.
+- Kubernetes DNS enabled.
+- A service Account with [RBAC](#rbac) permissions to create, delete pods.
+
+## Flink Kubernetes Session
+
+### Start Flink Session
+
+Follow these instructions to start a Flink Session within your Kubernetes cluster.
+
+A session will start all required Flink services (JobManager and TaskManagers) so that you can submit programs to the cluster.
+Note that you can run multiple programs per session.
+
+{% highlight bash %}
+$ ./bin/kubernetes-session.sh
+{% endhighlight %}
+
+All the Kubernetes configuration options can be found in our [configuration guide]({{ site.baseurl }}/zh/ops/config.html#kubernetes).
 
 Review comment:
   ```suggestion
   All the Kubernetes configuration options can be found in our [configuration guide]({{ site.baseurl }}/ops/config.html#kubernetes).
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#discussion_r364169870
 
 

 ##########
 File path: docs/ops/deployment/native_kubernetes.md
 ##########
 @@ -0,0 +1,199 @@
+---
+title:  "Native Kubernetes Setup"
+nav-title: Native Kubernetes
+nav-parent_id: deployment
+is_beta: true
+nav-pos: 7
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+This page describes how to deploy a Flink session cluster natively on [Kubernetes](https://kubernetes.io).
+
+* This will be replaced by the TOC
+{:toc}
+
+<div class="alert alert-warning">
+Flink's native Kubernetes integration is still experimental. There may be changes in the configuration and CLI flags in latter versions. Job clusters are not yet supported.
 
 Review comment:
   latter -> later?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143428304 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:99e4e3b9fa2421a75d52b2b3806b481e12f46381 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4174 TriggerType:PUSH TriggerID:99e4e3b9fa2421a75d52b2b3806b481e12f46381
   Hash:99e4e3b9fa2421a75d52b2b3806b481e12f46381 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143503667 TriggerType:PUSH TriggerID:99e4e3b9fa2421a75d52b2b3806b481e12f46381
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   * 663db28aa8a3608e30de326e3a1f1c045bad3fba Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143428304) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171) 
   * 99e4e3b9fa2421a75d52b2b3806b481e12f46381 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143503667) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4174) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143428304 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   * 663db28aa8a3608e30de326e3a1f1c045bad3fba Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143428304) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#discussion_r364170639
 
 

 ##########
 File path: docs/ops/deployment/native_kubernetes.md
 ##########
 @@ -0,0 +1,199 @@
+---
+title:  "Native Kubernetes Setup"
+nav-title: Native Kubernetes
+nav-parent_id: deployment
+is_beta: true
+nav-pos: 7
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+This page describes how to deploy a Flink session cluster natively on [Kubernetes](https://kubernetes.io).
+
+* This will be replaced by the TOC
+{:toc}
+
+<div class="alert alert-warning">
+Flink's native Kubernetes integration is still experimental. There may be changes in the configuration and CLI flags in latter versions. Job clusters are not yet supported.
+</div>
+
+## Requirements
+
+- Kubernetes 1.9 or above.
+- KubeConfig, which has access to list, create, delete pods and services, configurable via `~/.kube/config`. You can verify permissions by running `kubectl auth can-i <list|create|edit|delete> pods`.
+- Kubernetes DNS enabled.
+- A service Account with [RBAC](#rbac) permissions to create, delete pods.
+
+## Flink Kubernetes Session
+
+### Start Flink Session
+
+Follow these instructions to start a Flink Session within your Kubernetes cluster.
+
+A session will start all required Flink services (JobManager and TaskManagers) so that you can submit programs to the cluster.
+Note that you can run multiple programs per session.
+
+{% highlight bash %}
+$ ./bin/kubernetes-session.sh
+{% endhighlight %}
+
+All the Kubernetes configuration options can be found in our [configuration guide]({{ site.baseurl }}/ops/config.html#kubernetes).
+
+**Example**: Issue the following command to start a session cluster with 4 GB of memory and 2 CPUs with 4 slots per TaskManager:
+
+{% highlight bash %}
+./bin/kubernetes-session.sh \
+  -Dkubernetes.cluster-id=<ClusterId> \
+  -Dtaskmanager.memory.process.size=4096m \
+  -Dkubernetes.taskmanager.cpu=2 \
+  -Dtaskmanager.numberOfTaskSlots=4
+{% endhighlight %}
+
+The system will use the configuration in `conf/flink-conf.yaml`.
+Please follow our [configuration guide]({{ site.baseurl }}/ops/config.html) if you want to change something.
+
+If you do not specify a particular name for your session by `kubernetes.cluster-id`, the Flink client will generate a UUID name. 
+
+### Submitting jobs to an existing Session
+
+Use the following command to submit a Flink Job to the Kubernetes cluster.
+
+{% highlight bash %}
+$ ./bin/flink run -d -e kubernetes-session -Dkubernetes.cluster-id=<ClusterId> examples/streaming/WindowJoin.jar
+{% endhighlight %}
+
+### Accessing Job Manager UI
+
+There are several ways to expose a Service onto an external (outside of your cluster) IP address.
+This can be configured using `kubernetes.service.exposed.type`.
+
+- `ClusterIP`: Exposes the service on a cluster-internal IP.
+The Service is only reachable within the cluster. If you want to access the Job Manager ui or submit job to the existing session, you need to start a local proxy.
 
 Review comment:
   ui -> UI and `submit job` -> `submit a 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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571966712
 
 
   @sjwiesman Aha, thanks for your quick response. I have checked the zh document in the PR, it works well. 
   `./build_docs.sh -i -z`
   
   @aljoscha Please help to squash the first three commits and then merge. Many thanks.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143428304 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   * 663db28aa8a3608e30de326e3a1f1c045bad3fba Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143428304) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   * 663db28aa8a3608e30de326e3a1f1c045bad3fba UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] sjwiesman commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
sjwiesman commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571987089
 
 
   @aljoscha I am tired, please ignore. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] aljoscha commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
aljoscha commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571648764
 
 
   Thanks a lot for this addition, @wangyang0918! My (american) colleague @sjwiesman who is a native english speaker looked at the text and suggested some changes. The ordering of the sections was also changed slightly. I pushed a commit with his suggestions. What do you think about them?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571491538
 
 
   @aljoscha I have checked all the commands in the doc. Please take a look at your convenience. Thanks a lot.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571982116
 
 
   @aljoscha Yes, we need to add the `/zh` in `{{ site.baseurl }}`. The current behavior is right, i will not update it.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143428304 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:99e4e3b9fa2421a75d52b2b3806b481e12f46381 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4174 TriggerType:PUSH TriggerID:99e4e3b9fa2421a75d52b2b3806b481e12f46381
   Hash:99e4e3b9fa2421a75d52b2b3806b481e12f46381 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/143503667 TriggerType:PUSH TriggerID:99e4e3b9fa2421a75d52b2b3806b481e12f46381
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   * 663db28aa8a3608e30de326e3a1f1c045bad3fba Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143428304) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171) 
   * 99e4e3b9fa2421a75d52b2b3806b481e12f46381 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/143503667) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4174) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/143428304 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   Hash:663db28aa8a3608e30de326e3a1f1c045bad3fba Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171 TriggerType:PUSH TriggerID:663db28aa8a3608e30de326e3a1f1c045bad3fba
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   * 663db28aa8a3608e30de326e3a1f1c045bad3fba Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/143428304) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4171) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571130861
 
 
   <!--
   Meta data
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143239456 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:3fec823e216b198f33fa5fb5eac129d8849a03e8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134 TriggerType:PUSH TriggerID:3fec823e216b198f33fa5fb5eac129d8849a03e8
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/143359487 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   Hash:5501af157919b8bb36336d3272b1aa665eca0e1f Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155 TriggerType:PUSH TriggerID:5501af157919b8bb36336d3272b1aa665eca0e1f
   -->
   ## CI report:
   
   * 3fec823e216b198f33fa5fb5eac129d8849a03e8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143239456) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4134) 
   * 5501af157919b8bb36336d3272b1aa665eca0e1f Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/143359487) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4155) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] aljoscha commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes

Posted by GitBox <gi...@apache.org>.
aljoscha commented on issue #10777: [FLINK-10939][doc] Add documents for running Flink cluster natively on Kubernetes
URL: https://github.com/apache/flink/pull/10777#issuecomment-571987609
 
 
   😅:coffee: 
   
   I merged this now. Thanks a lot @wangyang0918! And also thanks @sjwiesman for the adjustments.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services