You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: "Azure Operator Nexus: Interact with AKS-Hybrid Cluster"
3
3
description: Learn how to manage (view, list, update, delete) AKS-Hybrid clusters.
4
-
author: pvapheas
5
-
ms.author: pvapheas
4
+
author: dramasamy
5
+
ms.author: dramasamy
6
6
ms.service: azure
7
7
ms.topic: how-to
8
8
ms.date: 02/02/2023
9
9
ms.custom: template-how-to
10
10
---
11
11
12
-
# How to manage and lifecyle the AKS-Hybrid cluster
12
+
# How to manage and lifecycle the AKS-Hybrid cluster
13
13
14
14
This document shows how to manage an AKS-Hybrid cluster that you use for CNF workloads.
15
15
16
16
## Before you begin
17
17
18
-
You'll need:
18
+
You need:
19
19
20
20
1. You should have created an [AKS-Hybrid Cluster](./quickstarts-tenant-workload-deployment.md#section-k-how-to-create-aks-hybrid-cluster-for-deploying-cnf-workloads)
21
21
2. <`YourAKS-HybridClusterName`>: the name of your previously created AKS-Hybrid cluster
@@ -31,8 +31,8 @@ To get a list of AKS_Hybrid clusters in your Resource group:
31
31
32
32
```azurecli
33
33
az hybridaks list -o table \
34
-
--resource-group "<YourResourceGroupName>" \
35
-
--subscription "<YourSubscription>"
34
+
--resource-group "<YourResourceGroupName>" \
35
+
--subscription "<YourSubscription>"
36
36
```
37
37
38
38
## Show command
@@ -41,8 +41,8 @@ To see the properties of AKS-Hybrid cluster named `YourAKS-HybridClustername`:
41
41
42
42
```azurecli
43
43
az hybridaks show --name "<YourAKS-HybridClusterName>" \
44
-
--resource-group "<YourResourceGroupName>" \
45
-
--subscription "<YourSubscription>"
44
+
--resource-group "<YourResourceGroupName>" \
45
+
--subscription "<YourSubscription>"
46
46
```
47
47
48
48
## Update command
@@ -51,9 +51,9 @@ To update the properties of your AKS-Hybrid cluster:
51
51
52
52
```azurecli
53
53
az hybridaks update --name "<YourAKS-HybridClustername>" \
54
-
--resource-group "<YourResourceGroupName>" \
55
-
--subscription "<YourSubscription>" \
56
-
--tags "<YourAKS-HybridClusterTags>"
54
+
--resource-group "<YourResourceGroupName>" \
55
+
--subscription "<YourSubscription>" \
56
+
--tags "<YourAKS-HybridClusterTags>"
57
57
```
58
58
59
59
## Delete command
@@ -62,6 +62,31 @@ To delete the AKS-Hybrid cluster named `YourAKS-HybridClustername`:
62
62
63
63
```azurecli
64
64
az hybridaks delete --name "<YourAKS-HybridClustername>" \
65
-
--resource-group "<YourResourceGroupName >" \
66
-
--subscription "<YourSubscription>"
65
+
--resource-group "<YourResourceGroupName >" \
66
+
--subscription "<YourSubscription>"
67
+
```
68
+
69
+
## Add node pool command
70
+
71
+
To add a node pool to the AKS-Hybrid cluster named `YourAKS-HybridClustername`:
72
+
```azurecli
73
+
az hybridaks nodepool add \
74
+
--name <name of the nodepool> \
75
+
--cluster-name "<YourAKS-HybridClustername>" \
76
+
--resource-group "<YourResourceGroupName>" \
77
+
--location <dc-location> \
78
+
--node-count <worker node count> \
79
+
--node-vm-size <Operator Nexus SKU> \
80
+
--zones <comma separated list of availability zones>
81
+
```
82
+
83
+
## Delete node pool command
84
+
85
+
To delete a node pool from the AKS-Hybrid cluster named `YourAKS-HybridClustername`:
Copy file name to clipboardExpand all lines: articles/operator-nexus/quickstarts-tenant-workload-deployment.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: How to deploy tenant workloads
3
3
description: Learn the steps for creating VMs for VNF workloads and for creating AKS-Hybrid clusters for CNF workloads
4
-
author: dramasamymsft#Required; your GitHub user alias, with correct capitalization.
4
+
author: dramasamy#Required; your GitHub user alias, with correct capitalization.
5
5
ms.author: dramasamy #Required; microsoft alias of author; optional team alias.
6
6
ms.service: azure #Required; service per approved list. slug assigned by ACOM.
7
7
ms.topic: quickstart #Required; leave this attribute/value as-is.
@@ -42,7 +42,6 @@ You should have the following information already:
42
42
- VLAN/subnet info for each of the layer 3 network(s)
43
43
- Which network(s) would need to talk to each other (remember to put VLANs/subnets that needs to
44
44
talk to each other into the same L3 Isolation Domain)
45
-
- VLAN/subnet info for your `defaultcninetwork` for AKS-Hybrid cluster
46
45
- BGP peering and network policies information for your L3 Isolation Domain(s)
47
46
- VLANs for all your layer 2 network(s)
48
47
- VLANs for all your trunked network(s)
@@ -148,7 +147,7 @@ Your VM requires at least one Cloud Services Network. You need the egress endpoi
148
147
149
148
### Step V3: create a VM
150
149
151
-
Operator Nexus Virtual Machines (VMs) are used for hosting VNF(s) within a Telco network.
150
+
Operator Nexus Virtual Machines (VMs) is used for hosting VNF(s) within a Telco network.
152
151
The Nexus platform provides `az networkcloud virtualmachine create` to create a customized VM.
153
152
For hosting a VNF on your VM, have it [Microsoft Azure Arc-enrolled](/azure/azure-arc/servers/overview),
154
153
and provide a way to ssh to it via Azure CLI.
@@ -244,7 +243,7 @@ Gather this information:
244
243
245
244
- The `resourceId` of the `cloudservicesnetwork`
246
245
- The `resourceId(s)` for each of the L2/L3/Trunked Networks
247
-
- Determine which network will serve as your default gateway (can only choose 1)
246
+
- Determine which network serves as your default gateway (can only choose 1)
248
247
- If you want to specify `networkAttachmentName` (interface name) for any of your networks
249
248
- Determine the `ipAllocationMethod` for each of your L3 Network (static/dynamic)
250
249
- The dimension of your VM
@@ -456,7 +455,7 @@ You need the egress endpoints you want to add to the proxy for your VM to access
456
455
457
456
For each previously created tenant network, a corresponding AKS-Hybrid vNET network needs to be created
458
457
459
-
You'll need the Azure Resource Manager resource ID for each of the networks you created earlier. You can retrieve the Azure Resource Manager resource IDs as follows:
458
+
You need the Azure Resource Manager resource ID for each of the networks you created earlier. You can retrieve the Azure Resource Manager resource IDs as follows:
460
459
461
460
```azurecli
462
461
az networkcloud cloudservicesnetwork show -g "<YourResourceGroupName>" -n "<YourCloudServicesNetworkName>" --subscription "<YourSubscription>" -o tsv --query id
@@ -498,7 +497,8 @@ This section describes how to create an AKS-Hybrid cluster
498
497
--control-plane-count <count> \
499
498
--location <dc-location> \
500
499
--node-count <worker node count> \
501
-
--node-vm-size <Operator Nexus SKU>
500
+
--node-vm-size <Operator Nexus SKU> \
501
+
--zones <comma separated list of availability zones>
502
502
```
503
503
504
504
After a few minutes, the command completes and returns JSON-formatted information about the cluster.
Copy file name to clipboardExpand all lines: articles/operator-nexus/quickstarts-tenant-workload-prerequisites.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
title: How to deploy tenant workloads prerequisites
3
3
description: Learn the prerequisites for creating VMs for VNF workloads and for creating AKS-Hybrid clusters for CNF workloads
4
-
author: jwheeler60#Required; your GitHub user alias, with correct capitalization.
5
-
ms.author: johnwheeler#Required; microsoft alias of author; optional team alias.
4
+
author: dramasamy#Required; your GitHub user alias, with correct capitalization.
5
+
ms.author: dramasamy#Required; microsoft alias of author; optional team alias.
6
6
ms.service: azure #Required; service per approved list. slug assigned by ACOM.
7
7
ms.topic: quickstart #Required; leave this attribute/value as-is.
8
8
ms.date: 01/25/2023 #Required; mm/dd/yyyy format.
@@ -49,6 +49,20 @@ You need:
49
49
- your Azure account and the subscription ID of Operator Nexus cluster deployment
50
50
- the `custom location` resource ID of your Operator Nexus cluster
51
51
52
+
## AKS-Hybrid availability zone
53
+
`--zones` option in `az hybridaks create` or `az hybridaks nodepool add` can be used to distribute the AKS-Hybrid clusters across different zones for better fault tolerance and performance. When creating an AKS-Hybrid cluster, you can use the `--zones` option to schedule the cluster onto specific racks or distribute it evenly across multiple racks, improving resource utilization and fault tolerance.
54
+
55
+
If you do not specify a zone when creating an AKS-Hybrid cluster through the `--zones` option, the Operator Nexus platform automatically implements a default anti-affinity rule. This anti-affinity rule aims to prevent scheduling the cluster VM on a node that already has a VM from the same cluster, but it's a best-effort approach and can't guarantee it.
56
+
57
+
To obtain the list of available zones in the given Operator Nexus instance, you can use the following command.
[Azure Container Registry](../container-registry/container-registry-intro.md) is a managed registry service to store and manage your container images and related artifacts.
@@ -133,4 +147,4 @@ This VM image build procedure is derived from [kubevirt](https://kubevirt.io/use
133
147
To deploy your workloads, you need:
134
148
135
149
- to create resource group or find a resource group to use for your workloads
136
-
- the network fabric resource ID to create isolation-domains.
150
+
- the network fabric resource ID to create isolation-domains.
0 commit comments