Create Resource Group¶
In this section you will create a resource group to hold related resources for Arrikto Enterprise Kubeflow.
Fast Forward
If you already have a resource group to use, expand this box to fast-forward.
Specify the resource group to use:
root@rok-tools:~# export AZ_RESOURCE_GROUP=<GROUP>Replace
<GROUP>
with your resource group, for example:root@rok-tools:~# export AZ_RESOURCE_GROUP=arriktoProceed to the Verify section.
See also
Overview
What You’ll Need¶
- A configured management environemnt.
Procedure¶
Go to your
rok-tools
management environment.Specify the resource group to use:
root@rok-tools:~# export AZ_RESOURCE_GROUP=<GROUP>Replace
<GROUP>
with your resource group, for example:root@rok-tools:~# export AZ_RESOURCE_GROUP=arriktoCreate the resource group:
root@rok-tools:~# az group create \ > --name ${AZ_RESOURCE_GROUP?} \ > --subscription ${SUBSCRIPTION_ID?} \ > --location ${AZURE_DEFAULTS_LOCATION?} { "id": "/subscriptions/5361f4ed-77bb-4e35-b223-f875d30df1a9/resourceGroups/arrikto", "location": "eastus", "managedBy": null, "name": "arrikto", "properties": { "provisioningState": "Succeeded" }, "tags": null, "type": "Microsoft.Resources/resourceGroups" }Troubleshooting
The command failed with an authorization error
If the above command fails with an error message similar to the following:
(AuthorizationFailed) The client '0c799e27-a84f-41a2-a02b-236af002af99' with object id '0c799e27-a84f-41a2-a02b-236af002af99' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/3b63afce-113a-4798-a303-f37dada04319/resourcegroups/arrikto' or the scope is invalid. If access was recently granted, please refresh your credentials.it means that your identity does not have sufficient permissions to create a resource group.
To proceed, make sure you have followed the Configure Azure CLI section to configure your Azure CLI with an identity that has
Owner
permissions. If you only haveReader
permissions, contact your administrator to grantOwner
permissions to your identity or to create the resource group for you.
Verify¶
Ensure that your resource group exists:
root@rok-tools:~# az group show -o table --resource-group ${AZ_RESOURCE_GROUP?} Location Name ---------- ------- eastus arriktoTroubleshooting
The command failed with an authorization error
If the above command fails with an error message similar to the following:
(AuthorizationFailed) The client '82a19692-1c50-4f24-b3e2-95675ddc5213' with object id '82a19692-1c50-4f24-b3e2-95675ddc5213' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/a8eb0222-2657-4a68-ae60-f06536139029/resourcegroups/arrikto' or the scope is invalid. If access was recently granted, please refresh your credentials.it means that your identity does not have sufficient permissions to retrieve a resource group.
To proceed, make sure you have followed the Configure Azure CLI section to configure your Azure CLI with an identity that has either
Owner
orReader
permissions. If you do not have the required permissions, contact your administrator to grant them to your identity.