Skip to content

Commit bbc5c59

Browse files
Merge pull request #213714 from MGoedtel/bug1971821
Updated article to make ref to custom domains
2 parents 3d0423f + b5a8a27 commit bbc5c59

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

articles/aks/private-clusters.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create a private Azure Kubernetes Service cluster
33
description: Learn how to create a private Azure Kubernetes Service (AKS) cluster
44
services: container-service
55
ms.topic: article
6-
ms.date: 05/27/2022
6+
ms.date: 10/05/2022
77

88
---
99

@@ -21,10 +21,11 @@ Private cluster is available in public regions, Azure Government, and Azure Chin
2121

2222
## Prerequisites
2323

24-
* Azure CLI >= 2.28.0 or Azure CLI with aks-preview extension 0.5.29 or later.
25-
* If using ARM or the rest API, the AKS API version must be 2021-05-01 or later.
26-
* The Private Link service is supported on Standard Azure Load Balancer only. Basic Azure Load Balancer isn't supported.
27-
* To use a custom DNS server, add the Azure DNS IP 168.63.129.16 as the upstream DNS server in the custom DNS server. For more information about the Azure DNS IP address, see [What is IP address 168.63.129.16?][virtual-networks-168.63.129.16]
24+
* The Azure CLI version 2.28.0 and higher.
25+
* The aks-preview extension 0.5.29 or higher.
26+
* If using ARM or the Azure REST API, the AKS API version must be 2021-05-01 or higher.
27+
* Azure Private Link service is supported on Standard Azure Load Balancer only. Basic Azure Load Balancer isn't supported.
28+
* To use a custom DNS server, add the Azure public IP address 168.63.129.16 as the upstream DNS server in the custom DNS server. For more information about the Azure IP address, see [What is IP address 168.63.129.16?][virtual-networks-168.63.129.16]
2829

2930
## Create a private AKS cluster
3031

@@ -36,7 +37,7 @@ Create a resource group or use an existing resource group for your AKS cluster.
3637
az group create -l westus -n MyResourceGroup
3738
```
3839

39-
### Default basic networking
40+
### Default basic networking
4041

4142
```azurecli-interactive
4243
az aks create -n <private-cluster-name> -g <private-cluster-resource-group> --load-balancer-sku standard --enable-private-cluster
@@ -58,11 +59,16 @@ az aks create \
5859
--dns-service-ip 10.2.0.10 \
5960
--service-cidr 10.2.0.0/24
6061
```
61-
Where `--enable-private-cluster` is a mandatory flag for a private cluster.
62+
63+
Where `--enable-private-cluster` is a mandatory flag for a private cluster.
6264

6365
> [!NOTE]
6466
> If the Docker bridge address CIDR (172.17.0.1/16) clashes with the subnet CIDR, change the Docker bridge address appropriately.
6567
68+
## Use custom domains
69+
70+
If you want to configure custom domains that can only be resolved internally, see [Use custom domains][use-custom-domains] for more information.
71+
6672
## Disable Public FQDN
6773

6874
The following parameters can be leveraged to disable Public FQDN.
@@ -79,7 +85,7 @@ az aks create -n <private-cluster-name> -g <private-cluster-resource-group> --lo
7985
az aks update -n <private-cluster-name> -g <private-cluster-resource-group> --disable-public-fqdn
8086
```
8187

82-
## Configure Private DNS Zone
88+
## Configure Private DNS Zone
8389

8490
The following parameters can be leveraged to configure Private DNS Zone.
8591

@@ -124,9 +130,9 @@ Creating a VM in the same VNET as the AKS cluster is the easiest option. Express
124130
## Virtual network peering
125131

126132
As mentioned, virtual network peering is one way to access your private cluster. To use virtual network peering, you need to set up a link between virtual network and the private DNS zone.
127-
133+
128134
1. Go to the node resource group in the Azure portal.
129-
2. Select the private DNS zone.
135+
2. Select the private DNS zone.
130136
3. In the left pane, select the **Virtual network** link.
131137
4. Create a new link to add the virtual network of the VM to the private DNS zone. It takes a few minutes for the DNS zone link to become available.
132138
5. In the Azure portal, navigate to the resource group that contains your cluster's virtual network.
@@ -233,28 +239,22 @@ Once the A record is created, link the private DNS zone to the virtual network t
233239
> [!WARNING]
234240
> If the private cluster is stopped and restarted, the private cluster's original private link service is removed and re-created, which breaks the connection between your private endpoint and the private cluster. To resolve this issue, delete and re-create any user created private endpoints linked to the private cluster. DNS records will also need to be updated if the re-created private endpoints have new IP addresses.
235241
236-
## Limitations
242+
## Limitations
243+
237244
* IP authorized ranges can't be applied to the private API server endpoint, they only apply to the public API server
238245
* [Azure Private Link service limitations][private-link-service] apply to private clusters.
239246
* No support for Azure DevOps Microsoft-hosted Agents with private clusters. Consider using [Self-hosted Agents](/azure/devops/pipelines/agents/agents?tabs=browser).
240247
* If you need to enable Azure Container Registry to work with a private AKS cluster, [set up a private link for the container registry in the cluster virtual network][container-registry-private-link] or set up peering between the Container Registry virtual network and the private cluster's virtual network.
241248
* No support for converting existing AKS clusters into private clusters
242-
* Deleting or modifying the private endpoint in the customer subnet will cause the cluster to stop functioning.
249+
* Deleting or modifying the private endpoint in the customer subnet will cause the cluster to stop functioning.
243250

244251
<!-- LINKS - internal -->
245-
[az-provider-register]: /cli/azure/provider#az_provider_register
246-
[az-feature-register]: /cli/azure/feature#az_feature_register
247-
[az-feature-list]: /cli/azure/feature#az_feature_list
248-
[az-extension-add]: /cli/azure/extension#az_extension_add
249-
[az-extension-update]: /cli/azure/extension#az_extension_update
250252
[private-link-service]: ../private-link/private-link-service-overview.md#limitations
251253
[private-endpoint-service]: ../private-link/private-endpoint-overview.md
252254
[virtual-network-peering]: ../virtual-network/virtual-network-peering-overview.md
253-
[azure-bastion]: ../bastion/tutorial-create-host-portal.md
254255
[express-route-or-vpn]: ../expressroute/expressroute-about-virtual-network-gateways.md
255-
[devops-agents]: /azure/devops/pipelines/agents/agents
256-
[availability-zones]: availability-zones.md
257256
[command-invoke]: command-invoke.md
258257
[container-registry-private-link]: ../container-registry/container-registry-private-link.md
259258
[virtual-networks-name-resolution]: ../virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances.md#name-resolution-that-uses-your-own-dns-server
260259
[virtual-networks-168.63.129.16]: ../virtual-network/what-is-ip-address-168-63-129-16.md
260+
[use-custom-domains]: coredns-custom.md#use-custom-domains

0 commit comments

Comments
 (0)