You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/load-balancer-standard.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ ms.author: zarhoads
14
14
15
15
# Use a Standard SKU load balancer in Azure Kubernetes Service (AKS)
16
16
17
-
To provide access to your applications in Azure Kubernetes Service (AKS), you can create and use an Azure Load Balancer. A load balancer running on AKS can be used as an internal or an external load balancer. An internal load balancer makes a Kubernetes service accessible only to applications running in the same virtual network as the AKS cluster. An external load balancer receives one or more public IPs for ingress and makes a Kubernetes service accessible externally using the public IPs.
17
+
To provide access to applications via Kubernetes services of type `LoadBalancer`in Azure Kubernetes Service (AKS), you can use an Azure Load Balancer. A load balancer running on AKS can be used as an internal or an external load balancer. An internal load balancer makes a Kubernetes service accessible only to applications running in the same virtual network as the AKS cluster. An external load balancer receives one or more public IPs for ingress and makes a Kubernetes service accessible externally using the public IPs.
18
18
19
-
Azure Load Balancer is available in two SKUs - *Basic* and *Standard*. By default, the *Standard* SKU is used when you create an AKS cluster. Using a *Standard* SKU load balancer provides additional features and functionality, such as larger backend pool size and Availability Zones. It's important that you understand the differences between *Standard* and *Basic* load balancers before choosing which to use. Once you create an AKS cluster, you cannot change the load balancer SKU for that cluster. For more information on the *Basic* and *Standard* SKUs, see [Azure load balancer SKU comparison][azure-lb-comparison].
19
+
Azure Load Balancer is available in two SKUs - *Basic* and *Standard*. By default, the *Standard* SKU is used when you create an AKS cluster. Using a *Standard* SKU load balancer provides additional features and functionality, such as a larger backend pool size and Availability Zones. It's important that you understand the differences between *Standard* and *Basic* load balancers before choosing which to use. Once you create an AKS cluster, you cannot change the load balancer SKU for that cluster. For more information on the *Basic* and *Standard* SKUs, see [Azure load balancer SKU comparison][azure-lb-comparison].
20
20
21
21
This article assumes a basic understanding of Kubernetes and Azure Load Balancer concepts. For more information, see [Kubernetes core concepts for Azure Kubernetes Service (AKS)][kubernetes-concepts] and [What is Azure Load Balancer?][azure-lb].
22
22
@@ -27,10 +27,19 @@ If you don't have an Azure subscription, create a [free account](https://azure.m
27
27
If you choose to install and use the CLI locally, this article requires that you are running the Azure CLI version 2.0.74 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
28
28
29
29
## Before you begin
30
+
30
31
This article assumes you have a AKS cluster with the *Standard* SKU Azure Load Balancer. If you need an AKS cluster, see the AKS quickstart [using the Azure CLI][aks-quickstart-cli] or [using the Azure portal][aks-quickstart-portal].
31
32
32
33
The AKS cluster service principal needs also permission to manage network resources if you use an existing subnet or resource group. In general, assign the *Network contributor* role to your service principal on the delegated resources. For more information on permissions, see [Delegate AKS access to other Azure resources][aks-sp].
33
34
35
+
### Moving from a Basic SKU Load Balancer to Standard SKU
36
+
37
+
If you have an existing cluster with the Basic SKU Load Balancer, there are important behavioral differences to note when migrating to use a cluster with the Standard SKU Load Balancer.
38
+
39
+
For example, making blue/green deployments to migrate clusters is a common practice given the `load-balancer-sku` type of a cluster can only be defined at cluster create time. However, *Basic SKU* Load Balancers use *Basic SKU* IP Addresses which are not compatible with *Standard SKU* Load Balancers as they require *Standard SKU* IP Addresses. When migrating clusters to upgrade Load Balancer SKUs, a new IP address with a compatible IP Address SKU will be required.
40
+
41
+
For more considerations on how to migrate clusters, visit [aka.ms/aks/migrate](https://aka.ms/aks/migrate) to view a list of important topics to consider when migrating. The below limitations are also important behavioral differences to note when using Standard SKU Load Balancers in AKS.
42
+
34
43
### Limitations
35
44
36
45
The following limitations apply when you create and manage AKS clusters that support a load balancer with the *Standard* SKU:
@@ -39,9 +48,10 @@ The following limitations apply when you create and manage AKS clusters that sup
39
48
* Provide your own public IPs.
40
49
* Provide your own public IP prefixes.
41
50
* Specify a number up to 100 to allow the AKS cluster to create that many *Standard* SKU public IPs in the same resource group created as the AKS cluster, which is usually named with *MC_* at the beginning. AKS assigns the public IP to the *Standard* SKU load balancer. By default, one public IP will automatically be created in the same resource group as the AKS cluster, if no public IP, public IP prefix, or number of IPs is specified. You also must allow public addresses and avoid creating any Azure Policy that bans IP creation.
42
-
* When using the *Standard* SKU for a load balancer, you must use Kubernetes version 1.13 or greater.
51
+
* When using the *Standard* SKU for a load balancer, you must use Kubernetes version `1.13 or greater`.
43
52
* Defining the load balancer SKU can only be done when you create an AKS cluster. You cannot change the load balancer SKU after an AKS cluster has been created.
44
-
* You can only use one load balancer SKU in a single cluster.
53
+
* You can only use one type of load balancer SKU (Basic or Standard) in a single cluster.
54
+
**Standard* SKU Load Balancers only support *Standard* SKU IP Addresses.
0 commit comments