Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix(privatek8s) correct outbound LB SNAT port (#581)
Fixup of #579 Twin of #580 The documentation at https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections#outboundrules states > Calculate ports per instance as follows: > Number of frontend IPs * 64K / Number of backend instances Today, it means: 64000/44 = ~1454 (edit) Fixes the following error from the apply of #579 ```text Kubernetes Cluster Name: "privatek8s-emerging-ram"): managedclusters.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="InvalidLoadBalancerProfileAllocatedOutboundPorts" Message="Load balancer profile allocated ports 1600 is not in an allowable range given the number of nodes and IPs provisioned. Total node count 50 requires 80000 ports but only 64000 ports are available given 1 outbound public IPs. Refer to https://aka.ms/aks/slb-ports for more details." Target="networkProfile.loadBalancerProfile.allocatedOutboundPorts" ```
- Loading branch information