Myasuka commented on a change in pull request #9470: [FLINK-13380][k8s] Improve the usability of Flink session cluster on Kubernetes URL: https://github.com/apache/flink/pull/9470#discussion_r315598541
########## File path: docs/ops/deployment/kubernetes.md ########## @@ -166,18 +249,34 @@ kind: Service metadata: name: flink-jobmanager spec: + type: ClusterIP ports: - name: rpc port: 6123 - name: blob port: 6124 - - name: query - port: 6125 - name: ui port: 8081 selector: app: flink component: jobmanager {% endhighlight %} +`jobmanager-rest-service.yaml`. Optional service, which is used to add a `NodePort` on the jobmanager rest service so that user could submit job via `<public-node-ip>:<node-port>`. Review comment: @1u0 Use `NodePort` to expose an application from K8S cluster is a general solution from official doc. Why you think this should be avoided to add? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services