简体   繁体   中英

Kubernetes worker node external ip how to get it

How to get external IP address of worker node using Kubernetes API in Java. I am able to get internal IP of worker node, but external IP I am not able to access it. Please let me know how can I get external IP

Not Sure about the kubernetes api in java. But " kubectl get nodes -o wide " shows both internal & external IPs of that node.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM