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_r315593616
 
 

 ##########
 File path: docs/ops/deployment/kubernetes.md
 ##########
 @@ -54,20 +54,38 @@ A basic Flink session cluster deployment in Kubernetes has 
three components:
 
 Using the resource definitions for a [session 
cluster](#session-cluster-resource-definitions), launch the cluster with the 
`kubectl` command:
 
+    kubectl create -f flink-configuration-configmap.yaml
     kubectl create -f jobmanager-service.yaml
     kubectl create -f jobmanager-deployment.yaml
     kubectl create -f taskmanager-deployment.yaml
 
-You can then access the Flink UI via `kubectl proxy`:
+Note that you could define your own customized options of `flink-conf.yaml` 
within `flink-configuration-configmap.yaml`.
 
-1. Run `kubectl proxy` in a terminal
-2. Navigate to 
[http://localhost:8001/api/v1/namespaces/default/services/flink-jobmanager:ui/proxy](http://localhost:8001/api/v1/namespaces/default/services/flink-jobmanager:ui/proxy)
 in your browser
+You can then access the Flink UI via different ways:
+*  `kubectl proxy`:
+
+    1. Run `kubectl proxy` in a terminal.
+    2. Navigate to 
[http://localhost:8001/api/v1/namespaces/default/services/flink-jobmanager:ui/proxy](http://localhost:8001/api/v1/namespaces/default/services/flink-jobmanager:ui/proxy)
 in your browser.
+
+*  `kubectl port-forward`:
+    1. Run `kubectl port-forward ${flink-jobmanager-pod} 8081:8081` to forward 
your jobmanager's web ui port to local 8081.
+    2. Navigate to [http://localhost:8001](http://localhost:8001) in your 
browser.
 
 Review comment:
   good catch.

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