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/internal-lb.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,7 @@ ms.date: 02/22/2023
14
14
15
15
# Use an internal load balancer with Azure Kubernetes Service (AKS)
16
16
17
-
You can create and use an internal load balancer to restrict access to your applications in Azure Kubernetes Service (AKS).
18
-
An internal load balancer does not have a public IP and makes a Kubernetes service accessible only to applications that can reach the private IP. These applications can be within the same VNET or in another VNET through VNET peering. This article shows you how to create and use an internal load balancer with AKS.
17
+
You can create and use an internal load balancer to restrict access to your applications in Azure Kubernetes Service (AKS). An internal load balancer doesn't have a public IP and makes a Kubernetes service accessible only to applications that can reach the private IP. These applications can be within the same VNET or in another VNET through VNET peering. This article shows you how to create and use an internal load balancer with AKS.
19
18
20
19
> [!NOTE]
21
20
> Azure Load Balancer is available in two SKUs: *Basic* and *Standard*. The *Standard* SKU is used by default when you create an AKS cluster. When you create a *LoadBalancer* service type, you'll get the same load balancer type as when you provisioned the cluster. For more information, see [Azure Load Balancer SKU comparison][azure-lb-comparison].
@@ -162,7 +161,7 @@ For more information on configuring your load balancer in a different subnet, se
162
161
app: internal-app
163
162
```
164
163
165
-
2. Deploy the internal load balancer using the [`kubectl apply`][kubectl-apply] command. This command creates an Azure load balancer in the node resource group connected to the same virtual network as your AKS cluster and a Private Link Service object that connects to the frontend IP configuration of the load balancer associated with the Kubernetes service.
164
+
2. Deploy the internal load balancer using the [`kubectl apply`][kubectl-apply] command. This command creates an Azure load balancer in the node resource group connected to the same virtual network as your AKS cluster. It also creates a Private Link Service object that connects to the frontend IP configuration of the load balancer associated with the Kubernetes service.
166
165
167
166
```azurecli-interactive
168
167
kubectl apply -f internal-lb-pls.yaml
@@ -193,7 +192,7 @@ For more information on configuring your load balancer in a different subnet, se
193
192
az network private-link-service list -g $AKS_MC_RG --query "[].{Name:name,Alias:alias}" -o table
194
193
```
195
194
196
-
Your output will look similar to the following example output:
195
+
Your output should look similar to the following example output:
The load balancer will be deleted when all of its services are deleted.
265
+
The load balancer is deleted when all of its services are deleted.
267
266
268
267
As with any Kubernetes resource, you can directly delete a service, such as `kubectl delete service internal-app`, which also deletes the underlying Azure load balancer.
0 commit comments