Creating a service in AKS with type=LoadBalancer

11/21/2018

I'm creating a k8 service in AKS with type=LoadBalancer. My intention is to expose this to the internet. I see that it has an external ip and works as expected.

My questions are:
1) what happens underneath the covers? does AKS create an azure load balancer resource? I don't see it in the portal. 2) does it cost extra money to have this service vs a ClusterIP service? if so, how much exactly?

-- George Moussa
azure
azure-aks
azure-kubernetes
azure-load-balancer
kubernetes

1 Answer

11/21/2018
  1. Yes, AKS does create a load balancer resource. its in the worker nodes resource group, not in the aks resource group
  2. yes it does, publicIp costs about 5$ a month, or something close to that, you can check azure calculator for exact price.

ps. ClusterIP isnt really an option, you cant use it for anything outside the cluster to talk to the service, afaik

-- 4c74356b41
Source: StackOverflow