wangyang0918 edited a comment on pull request #49:
URL: https://github.com/apache/flink-docker/pull/49#issuecomment-749390118


   cc @rogaha @tianon I have updated this PR and prepared a testing docker 
image with the new entrypoint. You could directly run the following examples.
   
   Note that if you want to run the second command you need to have a valid 
kube config since it means to start a native K8s session cluster.
   
   ```
   docker run registry.cn-beijing.aliyuncs.com/streamcompute/flink:1.12.0-debug 
ls /opt/flink
   docker run -v /path/of/kubeconfig:/opt/flink/.kube/config 
registry.cn-beijing.aliyuncs.com/streamcompute/flink:1.12.0-debug bash -c 'java 
-classpath $FLINK_CLASSPATH 
-Dlog4j.configurationFile=file:/opt/flink/conf/log4j-console.properties 
org.apache.flink.kubernetes.entrypoint.KubernetesSessionClusterEntrypoint 
-Dkubernetes.cluster-id=k8s-native-session-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:
us...@infra.apache.org


Reply via email to