What is the use case of the Kubernetes service address range in Azure Kubernetes Service?

If you want to configure your Azure Kubernetes Service (AKS) cluster with the Advanced Networking method (per https://docs.microsoft.com/en-us/azure/aks/configure-advanced-networking), you have to enter different IP address ranges. One of the address range is called “Kubernetes service address range”. And based on the description, the address range is used for Kubernetes Services.

However, it is important to know that this address range is actually only used for the Service type ClusterIP, and not for the type LoadBalancer. The internal Azure Load Balancer, which will be configured when specifying the type LoadBalancer and in case of private IP connectivity, still gets an IP address assigned from the virtual network/subnet that you selected. Btw, another recommended practise is to connect the internal load balancer into a dedicated subnet (not the one that you use for the Nodes and Pods), as described here https://docs.microsoft.com/en-us/azure/aks/internal-lb#specify-a-different-subnet.

Therefore, a network architecture could look like as follows:

High-level overview with AKS and advanced networking
Update: below, you can find reference to more detailed guides.

Published by dzemp

Cloud Solution Architect | Helping customers to successfully adopt cloud

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create your website at WordPress.com
Get started
%d bloggers like this: