Is there a way to change the default LoadBalancer for Services from "Internet" ingress?
Each time I kubectl create -f a deployment manifest with a LoadBalancer service in AKS, a new IP address is added to the 'kubernetes' Load Balancer in the synthetic Resource Group, and new NSG entries are made allowing source of "internet" to that port/destination [IP] in the aks-agentpool-xxxx-nsg.
Is there a way to change this behavior to something else (say, a CIDR block or a logical tag like VirtualNetwork) if you are standing up services for within-enterprise use, vs. making publicly available APIs?
How are other people securing access to their services in a reliable repeatable way? Does everybody just go in after a deployment and adjust this rule? Or is there a feature I am missing?
Thanks in advance.
Please see https://github.com/Azure/AKS/issues/98
This looks like an acceptable solution.
For a documentation view of the same, please see: https://docs.microsoft.com/en-us/azure/aks/internal-lb
Note that in this the onus is really on the Deployment manifests of each individual hosted app.
Please see comment above - this is resolvable using the approach covered in https://github.com/Azure/AKS/issues/98