Skip to content

Commit b01edf0

Browse files
committed
Updated content with SME changes, added new artwork, and created new media file folder.
1 parent 886ca44 commit b01edf0

17 files changed

+29
-21
lines changed

articles/databox-online/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster.md

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: alkohli
66

77
ms.service: azure-stack-edge
88
ms.topic: how-to
9-
ms.date: 03/11/2025
9+
ms.date: 03/14/2025
1010
ms.author: alkohli
1111
---
1212

@@ -50,7 +50,7 @@ Make sure that you've completed the following prerequisites on your Azure Stack
5050
- Use `kubectl version` to check the version of kubectl running on the client. Make a note of the full version.
5151
- In the local UI of your Azure Stack Edge Pro device, go to **Software update** and note the Kubernetes server version number.
5252

53-
![Verify Kubernetes server version number](media/azure-stack-edge-gpu-connect-powershell-interface/verify-kubernetes-version-1.png)
53+
![Verify Kubernetes server version number](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/verify-kubernetes-version-1.png)
5454

5555
- Verify these two versions are compatible.
5656

@@ -62,27 +62,27 @@ Before you enable Azure Arc on the Kubernetes cluster, you need to enable and re
6262
1. To enable a resource provider, in the Azure portal, go to the subscription that you're planning to use for the deployment. Go to **Resource Providers**.
6363
1. In the right-pane, search for the providers you want to add. In this example, `Microsoft.Kubernetes` and `Microsoft.KubernetesConfiguration`.
6464

65-
![Register Kubernetes resource providers](media/azure-stack-edge-gpu-connect-powershell-interface/register-k8-resource-providers-1.png)
65+
![Register Kubernetes resource providers](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/register-k8-resource-providers-1.png)
6666

6767
1. Select a resource provider and from the top of the command bar, select **Register**. Registration takes several minutes.
6868

69-
![Register Kubernetes resource providers 2](media/azure-stack-edge-gpu-connect-powershell-interface/register-k8-resource-providers-2.png)
69+
![Register Kubernetes resource providers 2](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/register-k8-resource-providers-2.png)
7070

7171
1. Refresh the UI until you see that the resource provider is registered. Repeat the process for both resource providers.
7272

73-
![Register Kubernetes resource providers 3](media/azure-stack-edge-gpu-connect-powershell-interface/register-k8-resource-providers-4.png)
73+
![Register Kubernetes resource providers 3](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/register-k8-resource-providers-4.png)
7474

7575
You can also register resource providers via the `az cli`. For more information, see [Register the two providers for Azure Arc-enabled Kubernetes](/azure/azure-arc/kubernetes/quickstart-connect-cluster#register-providers-for-azure-arc-enabled-kubernetes).
7676

7777
## Create service principal, assign role
7878

7979
1. Make sure that you have `Subscription ID` and the name of the resource group you used for the resource deployment for your Azure Stack Edge service. To get the subscription ID, go to your Azure Stack Edge resource in the Azure portal. Navigate to **Overview > Essentials**.
8080

81-
![Get subscription ID](media/azure-stack-edge-gpu-connect-powershell-interface/get-subscription-id-1.png)
81+
![Get subscription ID](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/get-subscription-id-1.png)
8282

8383
To get the resource group name, go to **Properties**.
8484

85-
![Get resource group name](media/azure-stack-edge-gpu-connect-powershell-interface/get-resource-group-name-1.png)
85+
![Get resource group name](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/get-resource-group-name-1.png)
8686

8787
1. To create a service principal, use the following command via the `az cli`.
8888

@@ -106,28 +106,37 @@ You can also register resource providers via the `az cli`. For more information,
106106
107107
1. Make a note of the `appId`, `name`, `password`, and `tenantID` as you'll use these values as input to the next command.
108108
109-
There are several ways to obtain `appId`. If you use one of the following methods, you can skip steps 1, 2, and 3 from the previous section and move directly to the following step 4.
109+
There are several ways to obtain `appId`. The following three options are the preferred methods. If you use one of the following options, you can skip steps 1, 2, and 3 from the previous section and move directly to the following step 4.
110110
111-
- Use Minishell to run the following PowerShell cmdlet:
111+
- Option 1 - Use Minishell to run the following PowerShell cmdlet:
112112
113113
```powershell
114-
Get-AzureDataBoxEdgeApplicationId
114+
[Device-IP]: PS> Get-AzureDataBoxEdgeApplicationId
115+
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
116+
[Device-IP]: PS>
115117
```
116118
117-
- In Azure portal, navigate to your Azure Stack Edge device **Overview** and then at top right, select **JSON view**. You see **Resource JSON** details for your device. Make note of the `principalId` for your device.
119+
- Option 2 - e the following steps to view JSON details for your device In Azure portal:
120+
121+
1. Navigate to your Azure Stack Edge device **Overview** and then select **JSON view** at top right.
122+
123+
![View Overview page for your Azure Stack Edge device](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/view-device-overview.png)
118124
119-
<Include new screenshot from portal>
120-
![View JSON details for your Azure Stack Edge device](media/azure-stack-edge-gpu-connect-powershell-interface/view-json-details.png)
125+
1. You see **Resource JSON** details for your device. Make note of the `principalId` for your device.
121126
122-
- Use non-Azure Stack Edge PowerShell on a client machine to run the following command:
127+
![View JSON details for your Azure Stack Edge device](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/view-json-details.png)
123128
124-
```powershell
125-
$ASEResource= GetAzResource –ResourceGroupName <resource-group-name> -ResourceName <resource-name>
129+
- Option 3 - Use non-Azure Stack Edge PowerShell on a client machine to run the following command:
126130
127-
$ASEResource.Identity.PrincipalId
131+
```powershell
132+
// ASE resource group and resource name can be obtained from Azure portal
133+
PS C:\>$ASEResource= GetAzResource –ResourceGroupName <resource-group-name> -ResourceName <resource-name>
134+
PS C:\>$ASEResource.Identity.PrincipalId
135+
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
136+
PS C:\>
128137
```
129138
130-
1. After you create the new service principal or retrieve it using one of these methods, assign the `Kubernetes Cluster - Azure Arc Onboarding` role to the newly created principal. This is a built-in Azure role (use the role ID in the command) with limited permissions. Use the following command:
139+
1. After you create the new service principal, or after you retrieve it using one of these options, assign the `Kubernetes Cluster - Azure Arc Onboarding` role to the newly created principal. This is a built-in Azure role (use the role ID in the command) with limited permissions. Use the following command:
131140
132141
`az role assignment create --role 34e09817-6cbe-4d01-b1a2-e0eac5743d41 --assignee <appId-from-service-principal> --scope /subscriptions/<SubscriptionID>/resourceGroups/<Resource-group-name>`
133142
@@ -167,8 +176,7 @@ Follow these steps to configure the Kubernetes cluster for Azure Arc management:
167176
168177
- To deploy Azure Arc on your device, make sure that you're using a [Supported region for Azure Arc](https://azure.microsoft.com/global-infrastructure/services/?products=azure-arc).
169178
- Use the `az account list-locations` command to determine the exact location name to pass in the `Set-HcsKubernetesAzureArcAgent` cmdlet. Location names are typically formatted without any spaces.
170-
- Specifying `ClientId`, `TenantId`, and `ClientSecret` is optional.
171-
- If you assign a role to `appId`, don't specify `ClientId`, `TenantId`, or `ClientSecret`.
179+
- **Important:** If you obtain the `Id` instead of creating a new service principle using the older method, then do not specify `ClientId`, `TenantId`, or `ClientSecret`.
172180
173181
Here's an example:
174182
@@ -188,7 +196,7 @@ Follow these steps to configure the Kubernetes cluster for Azure Arc management:
188196

189197
In the Azure portal, a resource should be created with the name you provided in the preceding command.
190198

191-
![Go to Azure Arc resource](media/azure-stack-edge-gpu-connect-powershell-interface/verify-azure-arc-enabled-1.png)
199+
![Go to Azure Arc resource](media/azure-stack-edge-gpu-deploy-arc-kubernetes-cluster/verify-azure-arc-enabled-1.png)
192200

193201
1. To verify that Azure Arc is enabled successfully, run the following command from PowerShell interface:
194202

1.77 KB
Loading
163 KB
Loading
81.3 KB
Loading
120 KB
Loading
123 KB
Loading
Loading
Loading
Loading
73.9 KB
Loading

0 commit comments

Comments
 (0)