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_r315535740
 
 

 ##########
 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:
   Okay, I think we might add a separate service yaml file in the documentation 
to represent the `rest service` and tell users different ways to submit jobs: 
via `kubectl port-forward` or via the nodeport of this rest service.

----------------------------------------------------------------
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

Reply via email to