Interview Prep/Azure/AKS and ACR

How do Kubernetes Services of type LoadBalancer map to Azure?

IntermediateConceptAKS and ACR
Answer

The Azure cloud provider adds a frontend IP and load-balancing rule to the cluster's Standard LB (kubernetes for public, kubernetes-internal for internal). Health probes target the NodePort (or the pod with externalTrafficPolicy: Local, which preserves client IP).

Useful annotations:

metadata:
  annotations:
    service.beta.kubernetes.io/azure-load-balancer-internal: "true"
    service.beta.kubernetes.io/azure-load-balancer-internal-subnet: "snet-ilb"
    service.beta.kubernetes.io/azure-pip-name: "pip-shop-web"
    service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path: "/healthz"
Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR