Skip to content

Commit 0e72853

Browse files
authored
Update howto-cluster-manager.md
fix tabs
1 parent 15a129d commit 0e72853

File tree

1 file changed

+35
-29
lines changed

1 file changed

+35
-29
lines changed

articles/operator-nexus/howto-cluster-manager.md

Lines changed: 35 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ You can find examples of these two files here:
172172
1. Make sure all Instance Details are correct.
173173
1. Click Review + create.
174174

175+
---
176+
175177
## List/show Cluster Managers
176178

177179
List and show commands are used to get a list of existing Cluster Managers or the properties of a specific Cluster Manager.
@@ -223,6 +225,8 @@ This command shows the properties of the specified Cluster Manager in JSON forma
223225

224226
To view Cluster Managers, use Portal, CLI, or PowerShell.
225227

228+
---
229+
226230
## Update Cluster Manager
227231

228232
This command is used to patch properties of the provided Cluster Manager, or update the tags assigned to the Cluster Manager. Properties and tag updates can be done independently.
@@ -239,35 +243,6 @@ az networkcloud clustermanager update \
239243
--subscription "<SUB_ID>"
240244
```
241245

242-
### [Azure PowerShell](#tab/azure-powershell)
243-
244-
This command updates the Cluster Manager in the specified Resource group.
245-
246-
```azurepowershell-interactive
247-
$TAGS_HASH = @{
248-
tag1 = "true"
249-
tag2 = "false"
250-
}
251-
252-
Update-AzNetworkCloudClusterManager -Name "<CLUSTER_MANAGER_NAME>" -ResourceGroupName "<CLUSTER_MANAGER_RG>" -SubscriptionId "<SUB_ID>" -Tag $TAGS_HASH
253-
```
254-
255-
This command updates the Cluster Manager for `SystemAssigned` Managed Identity:
256-
```azurepowershell-interactive
257-
Update-AzNetworkCloudClusterManager -Name "<CLUSTER_MANAGER_NAME>" -ResourceGroupName "<CLUSTER_MANAGER_RG>" -SubscriptionId "<SUB_ID>" -IdentityType "SystemAssigned"
258-
```
259-
260-
This command updates the Cluster Manager for `UserAssigned` Managed Identity:
261-
```azurepowershell-interactive
262-
Update-AzNetworkCloudClusterManager -Name "<CLUSTER_MANAGER_NAME>" -ResourceGroupName "<CLUSTER_MANAGER_RG>" -SubscriptionId "<SUB_ID>" -IdentityType "UserAssigned" -IdentityUserAssignedIdentity <UAMI_RESOURCE_ID>
263-
```
264-
265-
### [ARM Template](#tab/template)
266-
267-
The template used for creation can also be used to update the Cluster Manager.
268-
269-
## Cluster Manager identity
270-
271246
The Cluster Manager identity can be managed via CLI using `az networkcloud clustermanager identity` sub commands.
272247

273248
This command shows the currently assigned identities.
@@ -319,6 +294,35 @@ az networkcloud clustermanager identity remove \
319294
--mi-system-assigned
320295
```
321296

297+
### [Azure PowerShell](#tab/azure-powershell)
298+
299+
This command updates the Cluster Manager in the specified Resource group.
300+
301+
```azurepowershell-interactive
302+
$TAGS_HASH = @{
303+
tag1 = "true"
304+
tag2 = "false"
305+
}
306+
307+
Update-AzNetworkCloudClusterManager -Name "<CLUSTER_MANAGER_NAME>" -ResourceGroupName "<CLUSTER_MANAGER_RG>" -SubscriptionId "<SUB_ID>" -Tag $TAGS_HASH
308+
```
309+
310+
This command updates the Cluster Manager for `SystemAssigned` Managed Identity:
311+
```azurepowershell-interactive
312+
Update-AzNetworkCloudClusterManager -Name "<CLUSTER_MANAGER_NAME>" -ResourceGroupName "<CLUSTER_MANAGER_RG>" -SubscriptionId "<SUB_ID>" -IdentityType "SystemAssigned"
313+
```
314+
315+
This command updates the Cluster Manager for `UserAssigned` Managed Identity:
316+
```azurepowershell-interactive
317+
Update-AzNetworkCloudClusterManager -Name "<CLUSTER_MANAGER_NAME>" -ResourceGroupName "<CLUSTER_MANAGER_RG>" -SubscriptionId "<SUB_ID>" -IdentityType "UserAssigned" -IdentityUserAssignedIdentity <UAMI_RESOURCE_ID>
318+
```
319+
320+
### [ARM Template](#tab/template)
321+
322+
The template used for creation can also be used to update the Cluster Manager.
323+
324+
---
325+
322326
## Delete Cluster Manager
323327

324328
This command is used to Delete the provided Cluster Manager.
@@ -345,6 +349,8 @@ Remove-AzNetworkCloudClusterManager -Name "<CLUSTER_MANAGER_NAME>" -ResourceGrou
345349

346350
To delete the Cluster Manager, use Portal, CLI, or PowerShell.
347351

352+
---
353+
348354
>[!NOTE]
349355
>As best practice, wait 20 minutes after deleting a Cluster Manager before trying to create a new Cluster Manager with the same name.
350356

0 commit comments

Comments
 (0)