How to find out the external IP address of a Managed Service for Kubernetes node
Written by
Updated at December 17, 2025
Case description
You need to find out the external IP address of the node running the pod.
Solution
You can get the node's IP address by sending the following request to the metadata service:
curl -H Metadata-Flavor:Google 169.254.169.254/computeMetadata/v1/instance/?recursive=true
For more information about this method of getting metadata, see this guide in the Compute Cloud section.
If your Managed Service for Kubernetes node has internet access, you can also send a request to a third-party resource that returns the external IP address, such as the following:
curl http://ifconfig.co
If nothing helped
If the above actions did not help, create a support ticket
- Managed Service for Kubernetes cluster ID.
- Description of what you actually need to do.