Skip to content

Commit 5b57d43

Browse files
Update deploy-load-balancer-cli.md
1 parent b29ea33 commit 5b57d43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

AKS-Hybrid/deploy-load-balancer-cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,18 @@ Namespace RegistrationPolicy RegistrationState
7878
Microsoft.KubernetesRuntime RegistrationRequired Registered
7979
```
8080

81-
2. To install the MetalLB Arc extension, obtain the AppID of the k8-extension, and then run the extension create command. You must run the following commands once per Arc Kubernetes cluster.
81+
2. To install the MetalLB Arc extension, obtain the AppID of the MetalLB extension resource provider, and then run the extension create command. You must run the following commands once per Arc Kubernetes cluster.
8282

8383
Obtain the Application ID of the Arc extension by running [az ad sp list](/cli/azure/ad/sp?view=azure-cli-latest#az-ad-sp-list). In order to run the following command, you must be a `user` member of your Azure tenant. For more information about user and guest membership, see [default user permissions in Microsoft Entra ID](/entra/fundamentals/users-default-permissions).
8484

8585
```azurecli
86-
$appID = az ad sp list --filter "appId eq '087fca6e-4606-4d41-b3f6-5ebdf75b8b4c'" --query "[].servicePrincipalNames" --output tsv
86+
$objID = az ad sp list --filter "appId eq '087fca6e-4606-4d41-b3f6-5ebdf75b8b4c'" --query "[].id" --output tsv
8787
```
8888

89-
Once you have the $appID, you can install the MetalLB Arc extension on your Kubernetes cluster. To run the below command, you need to have [**Kubernetes extension contributor**](/azure/role-based-access-control/built-in-roles/containers#kubernetes-extension-contributor) role.
89+
Once you have the $objID, you can install the MetalLB Arc extension on your Kubernetes cluster. To run the below command, you need to have [**Kubernetes extension contributor**](/azure/role-based-access-control/built-in-roles/containers#kubernetes-extension-contributor) role.
9090

9191
```azurecli
92-
az k8s-extension create --cluster-name $clusterName -g $rgName --cluster-type connectedClusters --extension-type microsoft.arcnetworking --config k8sRuntimeFpaObjectId=$appID -n arcnetworking
92+
az k8s-extension create --cluster-name $clusterName -g $rgName --cluster-type connectedClusters --extension-type microsoft.arcnetworking --config k8sRuntimeFpaObjectId=$objID -n arcnetworking
9393
```
9494

9595
## Deploy MetalLB load balancer on your Kubernetes cluster

0 commit comments

Comments
 (0)