[GitHub] [flink] wangyang0918 commented on issue #11705: [FLINK-16600][k8s] Fix not respecting the RestOptions.BIND_PORT for the Kubernetes setup

2020-04-18 Thread GitBox
wangyang0918 commented on issue #11705: [FLINK-16600][k8s] Fix not respecting 
the RestOptions.BIND_PORT for the Kubernetes setup
URL: https://github.com/apache/flink/pull/11705#issuecomment-615885320
 
 
   @TisonKun @zhengcanbin I have checked the test and changes again. If we set 
`rest.bind-port` explicitly, the test 
`testBuildAccompanyingKubernetesResources` should fail. So updating the test 
seems reasonable.
   
   Now i give the pass, +1 for merging.


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


[GitHub] [flink] wangyang0918 commented on issue #11705: [FLINK-16600][k8s] Fix not respecting the RestOptions.BIND_PORT for the Kubernetes setup

2020-04-17 Thread GitBox
wangyang0918 commented on issue #11705: [FLINK-16600][k8s] Fix not respecting 
the RestOptions.BIND_PORT for the Kubernetes setup
URL: https://github.com/apache/flink/pull/11705#issuecomment-615284603
 
 
   The changes looks good to me. I agree with @TisonKun that we need to add a 
new test, which will fails before the changes and pass after it. 
   For the test, i think we could have the following assumption.
   * The `port` of rest service should be equal to `rest.port`.
   * The `targetPort` should be equal to `rest.bind-port`.


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