Skip to content

Commit 1e704d0

Browse files
authored
Removed vars from ARM IDs as RG is not same as k8s cluster
1 parent e7f45d3 commit 1e704d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/operator-nexus/quickstarts-kubernetes-cluster-deployment-cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ To define these variables, use the following set commands and replace the exampl
5454
RESOURCE_GROUP="myResourceGroup"
5555
LOCATION="$(az group show --name $RESOURCE_GROUP --query location | tr -d '\"')"
5656
SUBSCRIPTION_ID="$(az account show -o tsv --query id)"
57-
CUSTOM_LOCATION="/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/microsoft.extendedlocation/customlocations/<custom-location-name>"
58-
CSN_ARM_ID="/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.NetworkCloud/cloudServicesNetworks/<csn-name>"
59-
CNI_ARM_ID="/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.NetworkCloud/l3Networks/<l3Network-name>"
57+
CUSTOM_LOCATION="/subscriptions/<subscription_id>/resourceGroups/<managed_resource_group>/providers/microsoft.extendedlocation/customlocations/<custom-location-name>"
58+
CSN_ARM_ID="/subscriptions/<subscription_id>/resourceGroups/<resource_group>/providers/Microsoft.NetworkCloud/cloudServicesNetworks/<csn-name>"
59+
CNI_ARM_ID="/subscriptions/<subscription_id>/resourceGroups/<resource_group>/providers/Microsoft.NetworkCloud/l3Networks/<l3Network-name>"
6060
AAD_ADMIN_GROUP_OBJECT_ID="00000000-0000-0000-0000-000000000000"
6161
CLUSTER_NAME="myNexusAKSCluster"
6262
K8S_VERSION="v1.24.9"
@@ -116,7 +116,7 @@ You can also use the default values for some of the variables, as shown in the f
116116

117117
```bash
118118
RESOURCE_GROUP="myResourceGroup"
119-
CUSTOM_LOCATION="/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/microsoft.extendedlocation/customlocations/<custom-location-name>"
119+
CUSTOM_LOCATION="/subscriptions/<subscription_id>/resourceGroups/<managed_resource_group>/providers/microsoft.extendedlocation/customlocations/<custom-location-name>"
120120
CLUSTER_NAME="myNexusAKSCluster"
121121
AGENT_POOL_NAME="${CLUSTER_NAME}-nodepool-2"
122122
AGENT_POOL_VM_SIZE="NC_M4_v1"

0 commit comments

Comments
 (0)