Skip to content

Commit bff9d8e

Browse files
Fixes based on feedback
1 parent a85fce4 commit bff9d8e

File tree

1 file changed

+16
-26
lines changed

1 file changed

+16
-26
lines changed

articles/private-5g-core/commission-cluster.md

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,6 @@ Additionally, if you go to the Azure portal and navigate to your **Azure Stack E
8585

8686
:::image type="content" source="media/commission-cluster/commission-cluster-ase-resource.png" alt-text="Screenshot of Azure Stack Edge resource in the Azure portal. Azure Kubernetes Service (PREVIEW) is shown under Edge services in the left menu.":::
8787

88-
## Enable high performance networking
89-
90-
Azure Private 5G Core requires high performance networking (HPN) to be enabled on Azure Stack Edge using a minishell command. You can continue to use the minishell session you started in [Enter a minishell session](#enter-a-minishell-session). Run the following command:
91-
92-
```powershell
93-
Invoke-Command -Session $minishellSession -ScriptBlock {Set-HcsNumaLpMapping -UseSkuPolicy}
94-
```
95-
96-
Wait for the machine to reboot if necessary (approximately 5 minutes).
97-
9888
## Set up advanced networking
9989

10090
You now need to configure virtual switches and virtual networks on those switches. You'll use the **Advanced networking** section of the Azure Stack Edge local UI to do this task.
@@ -139,7 +129,7 @@ You can input all the settings on this page before selecting **Apply** at the bo
139129
- If there's no gateway between the access interface and gNB/RAN, use the gNB/RAN IP address as the gateway address. If there's more than one gNB connected via a switch, choose one of the IP addresses for the gateway.
140130
- **DNS server** and **DNS suffix** should be left blank.
141131
1. Select **Modify** to save the configuration for this virtual network.
142-
1. Select **Apply** at the bottom of the page and wait for the notification (a bell icon) to confirm that the settings have been applied. Applying the settings will take approximately 15 minutes.
132+
1. Select **Apply** at the bottom of the page and wait for the notification (a bell icon) to confirm that the settings have been applied. Applying the settings will take approximately 8 minutes.
143133
The page should now look like the following image:
144134

145135
:::image type="content" source="media/commission-cluster/commission-cluster-advanced-networking-ase-2.png" alt-text="Screenshot showing Advanced networking, with a table of virtual switch information and a table of virtual network information.":::
@@ -156,7 +146,7 @@ You can input all the settings on this page before selecting **Apply** at the bo
156146
- If there's no gateway between the access interface and gNB/RAN, use the gNB/RAN IP address as the gateway address. If there's more than one gNB connected via a switch, choose one of the IP addresses for the gateway.
157147
- **DNS server** and **DNS suffix** should be left blank.
158148
1. Select **Modify** to save the configuration for this virtual network.
159-
1. Select **Apply** at the bottom of the page and wait for the notification (a bell icon) to confirm that the settings have been applied. Applying the settings will take approximately 15 minutes.
149+
1. Select **Apply** at the bottom of the page and wait for the notification (a bell icon) to confirm that the settings have been applied. Applying the settings will take approximately 8 minutes.
160150
The page should now look like the following image:
161151

162152
:::image type="content" source="media/commission-cluster/commission-cluster-advanced-networking.png" alt-text="Screenshot showing Advanced networking, with a table of virtual switch information and a table of virtual network information.":::
@@ -167,15 +157,15 @@ You can input all the settings on this page before selecting **Apply** at the bo
167157
In the local Azure Stack Edge UI, go to the **Kubernetes (Preview)** page. You'll set up all of the configuration and then apply it once, as you did in [Set up Advanced Networking](#set-up-advanced-networking).
168158

169159
1. Under **Compute virtual switch**, select **Modify**.
170-
1. Select the management vswitch (for example, *vswitch-port2*)
160+
1. Select the vswitch with compute intent (for example, *vswitch-port2*)
171161
1. Enter six IP addresses in a range for the node IP addresses on the management network.
172162
1. Enter one IP address in a range for the service IP address, also on the management network.
173163
1. Select **Modify** at the bottom of the panel to save the configuration.
174164
1. Under **Virtual network**, select a virtual network (from **N2**, **N3**, **N6-DN1**, **N6-DN2**, and **N6-DN3**). In the side panel:
175165
1. Enable the virtual network for Kubernetes and add a pool of IP addresses. Add a range of one IP address for the appropriate address (N2, N3, N6-DN1, N6-DN2 or N6-DN3 as collected earlier. For example, *10.10.10.20-10.10.10.20*.
176166
1. Repeat for each of the N2, N3, N6-DN1, N6-DN2, and N6-DN3 virtual networks.
177167
1. Select **Modify** at the bottom of the panel to save the configuration.
178-
1. Select **Apply** at the bottom of the page and wait for the settings to be applied. Applying the settings will take approximately 15 minutes.
168+
1. Select **Apply** at the bottom of the page and wait for the settings to be applied. Applying the settings will take approximately 5 minutes.
179169

180170
The page should now look like the following image:
181171

@@ -283,12 +273,12 @@ The Azure Private 5G Core private mobile network requires a custom location and
283273
1. Set the following environment variables using the required values for your deployment:
284274
285275
```azurecli
286-
export SUBSCRIPTION_ID=<subscription ID>
287-
export RESOURCE_GROUP_NAME=<resource group name>
288-
export LOCATION=<deployment region, for example eastus>
289-
export CUSTOM_LOCATION=<custom location for the AKS cluster>
290-
export RESOURCE_NAME=<resource name>
291-
export TEMP_FILE=./tmpfile
276+
$SUBSCRIPTION_ID=<subscription ID>
277+
$RESOURCE_GROUP_NAME=<resource group name>
278+
$LOCATION=<deployment region, for example eastus>
279+
$CUSTOM_LOCATION=<custom location for the AKS cluster>
280+
$ARC_CLUSTER_RESOURCE_NAME=<resource name>
281+
$TEMP_FILE=./tmpfile
292282
```
293283
294284
1. Prepare your shell environment:
@@ -300,7 +290,7 @@ The Azure Private 5G Core private mobile network requires a custom location and
300290
1. Create the Network Function Operator Kubernetes extension:
301291
302292
```azurecli
303-
cat > $TEMP_FILE <<EOF
293+
Add-Content -Path $TEMP_FILE -Value @"
304294
{
305295
"helm.versions": "v3",
306296
"Microsoft.CustomLocation.ServiceAccount": "azurehybridnetwork-networkfunction-operator",
@@ -311,11 +301,11 @@ The Azure Private 5G Core private mobile network requires a custom location and
311301
"helm.release-namespace": "azurehybridnetwork",
312302
"managed-by": "helm"
313303
}
314-
EOF
304+
"@
315305
316306
az k8s-extension create \
317307
--name networkfunction-operator \
318-
--cluster-name "$RESOURCE_NAME" \
308+
--cluster-name "$ARC_CLUSTER_RESOURCE_NAME" \
319309
--resource-group "$RESOURCE_GROUP_NAME" \
320310
--cluster-type connectedClusters \
321311
--extension-type "Microsoft.Azure.HybridNetwork" \
@@ -331,7 +321,7 @@ The Azure Private 5G Core private mobile network requires a custom location and
331321
```azurecli
332322
az k8s-extension create \
333323
--name packet-core-monitor \
334-
--cluster-name "$RESOURCE_NAME" \
324+
--cluster-name "$ARC_CLUSTER_RESOURCE_NAME" \
335325
--resource-group "$RESOURCE_GROUP_NAME" \
336326
--cluster-type connectedClusters \
337327
--extension-type "Microsoft.Azure.MobileNetwork.PacketCoreMonitor" \
@@ -347,8 +337,8 @@ The Azure Private 5G Core private mobile network requires a custom location and
347337
-g "$RESOURCE_GROUP_NAME" \
348338
--location "$LOCATION" \
349339
--namespace azurehybridnetwork \
350-
--host-resource-id "/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP_NAME/providers/Microsoft.Kubernetes/connectedClusters/$RESOURCE_NAME" \
351-
--cluster-extension-ids "/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP_NAME/providers/Microsoft.Kubernetes/connectedClusters/$RESOURCE_NAME/providers/Microsoft.KubernetesConfiguration/extensions/networkfunction-operator"
340+
--host-resource-id "/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP_NAME/providers/Microsoft.Kubernetes/connectedClusters/$ARC_CLUSTER_RESOURCE_NAME" \
341+
--cluster-extension-ids "/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP_NAME/providers/Microsoft.Kubernetes/connectedClusters/$ARC_CLUSTER_RESOURCE_NAME/providers/Microsoft.KubernetesConfiguration/extensions/networkfunction-operator"
352342
```
353343
354344
You should see the new **Custom location** visible as a resource in the Azure portal within the specified resource group. Using the `kubectl get pods -A` command (with access to your *kubeconfig* file) should also show new pods corresponding to the extensions that have been installed. There should be one pod in the *azurehybridnetwork* namespace, and one in the *packet-core-monitor* namespace.

0 commit comments

Comments
 (0)