How can I assign and access public IPs for my (VMSS) AKS nodes?

Kenneth Miner 21 Reputation points
2020-08-11T21:24:58.217+00:00

I'm attempting to setup the demo AKS architecture referenced here: https://learn.microsoft.com/en-us/gaming/azure/reference-architectures/multiplayer-synchronous-aks

Unfortunately the steps provided in the referenced repository for VMSS no longer appear to work.

Steps taken:

  1. Added "publicIpAddressConfiguration": { "name": "pub1" } to the appropriate VMSS resource
  2. Manually scaled out the nodes to pick up the new configuration
  3. Received error: OutboundRules for VMs with public IpConfigurations (instance level publicIPs)...ipConfigurations/ipconfig1 are not supported

What steps do I need to take to:

  1. Automatically assign my AKS nodes public IP addresses?
  2. Make those public IP addresses available to the k8s client? [i.e. kubectl get nodes -o wide]

Happy to provide more details as needed!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,532 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,979 questions
{count} votes

Accepted answer
  1. prmanhas-MSFT 17,901 Reputation points Microsoft Employee
    2020-08-17T16:36:38.827+00:00

    @Kenneth Miner Apologies for the delay in response.

    Had a discussion internally and got to know that there’s a preview of AKS enabling PIP per Node .

    The same has been mentioned in this article.

    Can you check if it working for you or not?If yes I can raise a PR as well as applicable.

    Note: Since the feature is currently in preview so it is recommended to try out in Test environment so that if something doesn't work as impacted the Production environment won't get affected.

    Hope it helps.

    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful