Join GitHub today
Add more debug info during startup for the Kubernetes status.hostIP #297
When deployed to Kubernetes cluster, we are using host networking with Consul registry/discovery to by pass all the proxies to achieve best performance. When deploying to Google Cloud Platform, the downward API call to get status.hostIP seems not working and the internal IP is used to bind the instance.
got result like this.
We need to put more debug info in Server.java to indicate which IP is used and if the hostIP is passed in correctly or not.