Skip to content

Commit dc20a8c

Browse files
committed
combined private links sections
1 parent 2862107 commit dc20a8c

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

articles/azure-arc/kubernetes/private-link.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ If you opted out of using Azure private DNS zones during private endpoint creati
159159

160160
1. Follow the guidance from your DNS server vendor to add the necessary DNS zones and A records to match the table in the portal. Ensure that you select a DNS server that is appropriately scoped for your network. Every Kubernetes cluster that uses this DNS server now resolves the private endpoint IP addresses and must be associated with the Azure Arc Private Link Scope, or the connection will be refused.
161161

162-
## Configure private links for a Kubernetes cluster when onboarding to Azure Arc
162+
## Configure private links
163163

164164
> [!NOTE]
165165
> Configuring private links for Azure Arc enabled Kubernetes clusters is supported starting from version 1.2.9 of connectedk8s CLI extension. Ensure that you are using connectedk8s CLI extension version greater than or equal to 1.2.9.
166166
167-
When connecting a Kubernetes cluster to Azure Arc for the first time, you can optionally configure private links by connecting the Kubernetes cluster to Azure Arc and enabling private connectivity:
167+
You can configure private links for an existing Azure Arc-enabled Kubernetes cluster or when onboarding a Kubernetes cluster to Azure Arc for the first time using the command below:
168168

169169
```azurecli
170170
az connectedk8s connect -g <resource-group-name> -n <connected-cluster-name> -l <location> --enable-private-link true --private-link-scope-resource-id <pls-arm-id>
@@ -175,22 +175,6 @@ az connectedk8s connect -g <resource-group-name> -n <connected-cluster-name> -l
175175
| --enable-private-link |Property to enable/disable private links feature. Set it to "True" to enable connectivity with private links. |
176176
| --private-link-scope-resource-id | id of the private link scope resource created earlier. For example: /subscriptions//resourceGroups//providers/Microsoft.HybridCompute/privateLinkScopes/ |
177177

178-
## Configure an existing Azure Arc-enabled Kubernetes cluster with private links
179-
180-
> [!NOTE]
181-
> Configuring private links for Azure Arc enabled Kubernetes clusters is supported starting from version 1.2.9 of connectedk8s CLI extension. Ensure that you are using connectedk8s CLI extension version greater than or equal to 1.2.9.
182-
183-
If you have an existing Azure Arc-enabled Kubernetes cluster, you can enable private link for it by running the following command:
184-
185-
```azurecli
186-
az connectedk8s update -g <resource-group-name> -n <connected-cluster-name> --enable-private-link true –private-link-scope-resource-id <pls-arm-id>
187-
```
188-
189-
| Parameter name | Description |
190-
| -------------- | ----------- |
191-
| --enable-private-link |Property to enable/disable private links feature. Set it to "True" to enable connectivity with private links. |
192-
| --private-link-scope-resource-id | id of the private link scope resource created earlier. For example: /subscriptions//resourceGroups//providers/Microsoft.HybridCompute/privateLinkScopes/ |
193-
194178
## Troubleshooting
195179

196180
If you run into problems, the following suggestions may help:

0 commit comments

Comments
 (0)