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_r315292029
##########
File path: docs/ops/deployment/kubernetes.md
##########
@@ -166,18 +242,31 @@ 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
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: flink-jobmanager-svc
+spec:
+ type: NodePort
Review comment:
Yes, `ClusterIP` should be enough for the cluster to work properly. But
without a `NodePort` on jobmanager's rest RPC port, I couldn't find a way to
submit my application via `bin/flink run -m <k8s-flink-cluster>`. It seems I
could only submit my application via web UI which is not so convenient for
developers.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services