You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request :
Linkis default use hostname for service discovery and service call, but when deploy linkis on k8s , a serverce deploy as pod,the pod name is random, so the communication between services(on k8s is some pods) can not work。So,if linkis support IpAddress for
service discovery service call,it will be very nice!
Need Modify:
Linikis now use eureka for service discovery, in eureka we can set “eureka.instance.prefer-ip-address=true” to use IPAddress,this can modify linkis config to get it;
linkis-commons\linkils-common moudle use hostname+":"+port as serviceInstance name , and in linkis-computation-governance module use serviceInstance name for engine manager, so it required to be modify.
linkis-computation-governance\linkis-engineconn-manager module dynamic create linkis-engineconn for different engines,it is default use hostname,so it required to be modify.
$Install$\sbin\sh directory,some shell script should be modify to add SPRING_ARGS.
Solutions
Depending on “eureka.instance.prefer-ip-address" value to decide linkis use IpAdderess or not,modify above moudle,so Linikis can support both hostname and ip address for service discovery and service call.
The text was updated successfully, but these errors were encountered:
lunescode
changed the title
Linkis should support IP Adderss for service discovery service call,Especially when deployed on K8S
Linkis should support IP Address for service discovery service call,Especially when deployed on K8S
Aug 9, 2021
Feature request :
Linkis default use hostname for service discovery and service call, but when deploy linkis on k8s , a serverce deploy as pod,the pod name is random, so the communication between services(on k8s is some pods) can not work。So,if linkis support IpAddress for
service discovery service call,it will be very nice!
Need Modify:
Solutions
Depending on “eureka.instance.prefer-ip-address" value to decide linkis use IpAdderess or not,modify above moudle,so Linikis can support both hostname and ip address for service discovery and service call.
The text was updated successfully, but these errors were encountered: