Daniel
Daniel

Reputation: 549

Can an Azure virtual machine scale set have a hidden public IP?

I have an AKS cluster with 2 nodepools (one was added later). My problem is that only the first nodepool (the one created with the cluster) has a public ip which can be found in azure portal (as a public ip resource). Is it possible to find the IP of the second nodepool somewhere in the portal? I know what the IP is because I pinged one of my servers from a pod running on that nodepool, but I need the resource (or at least it's ID). I also tried searching for it using azure resource explorer but I couldn't find anything related to it. Is it hidden?

Sorry if the question seems dumb. I hope I was clear enough.

Upvotes: 1

Views: 194

Answers (1)

4c74356b41
4c74356b41

Reputation: 72171

You are probably dealing with an ephemeral external IP, so whenever there is no public ip attached to a vm it gets assigned an ephemeral one for outgoing comms. You can also read this article to get a better idea how to control that: https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections

Upvotes: 1

Related Questions