New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more debug info during startup for the Kubernetes status.hostIP #297

stevehu opened this Issue Sep 27, 2018 · 0 comments


None yet
1 participant

stevehu commented Sep 27, 2018

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.

kubectl describe pod apid-deployment-6cb6c4c969-4pbbn

got result like this.

 STATUS_HOST_IP:   (v1:status.hostIP)

We need to put more debug info in to indicate which IP is used and if the hostIP is passed in correctly or not.

@stevehu stevehu closed this in 36390cb Oct 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment