Creating the NetApp Account
- Create a resource of type Azure NetApp Files.
- Choose a name and your subscription for the resource.
- For Resource group, select your Kubernetes resource group where you have your virtual network and subnet for NFS.
- For Location, select your resource group as in Step 3.
- Click Create and wait for account creation.
- Set your main resource group name to an environment variable:
RESOURCE_GROUP=<your resource group name>
For example:RESOURCE_GROUP=srg-demo
- Create the NetApp account by running the following command:
az netappfiles account create -g $RESOURCE_GROUP --name <ACCOUNT_NAME> -l <LOCATION>
For example:az netappfiles account create -g $RESOURCE_GROUP --name SrgDemoNetAppAdmin -l westeurope
Where:
<ACCOUNT NAME> is your NetApp account name.
<LOCATION> is the same as for AKS
- Set your main resource group name to an environment variable:
RESOURCE_GROUP=<your resource group name>
For example:RESOURCE_GROUP=srg-demo
- Create the NetApp account by running the following command:
az netappfiles account create -g $RESOURCE_GROUP --name <ACCOUNT_NAME> -l <LOCATION>
Where:
<ACCOUNT NAME> is your NetApp account name.
<LOCATION> is the same as for AKS
Next Step: Setting Up the Capacity Pool