Create Resource Group

In this section you will create a resource group to hold related resources for Arrikto Enterprise Kubeflow.

Procedure

  1. Go to your rok-tools management environment.

  2. 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=arrikto
  3. Create 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 have Reader permissions, contact your administrator to grant Owner permissions to your identity or to create the resource group for you.

Verify

  1. Ensure that your resource group exists:

    root@rok-tools:~# az group show -o table --resource-group ${AZ_RESOURCE_GROUP?} Location Name ---------- ------- eastus arrikto

    Troubleshooting

    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 or Reader permissions. If you do not have the required permissions, contact your administrator to grant them to your identity.

Summary

You have successfully created a resource group for grouping the AKS related resources that you are about to create for Arrikto EKF.

What’s Next

The next step is to create the AKS cluster.