Asking for help? Comment out what you need so we can get more information to help you!
We have a setup where a single pod is running inside a node in our machine.
In normal Java application when we use the java.net.InetAddress.getLocalHost().getHostAddress(), it would give the system hostAddress where the server is running. But if the same API is called in a java application running inside a Kubernetes pod it would give the hostAddress of pod. Please let me know how to get the hostAddress of the system where the kubernetes pod is running and not the pod hostAddress?
Cloud being used: (put bare-metal if not on a public cloud)
CNI and version:
CRI and version:
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.