Install Azure Container Storage enabled by Azure Arc Cache Volumes (preview)
This article describes the steps to install the Azure Container Storage enabled by Azure Arc extension.
Optional: increase cache disk size
Currently, the cache disk size defaults to 8 GB. If you're satisfied with the cache disk size, see the next section, Install the Azure Container Storage enabled by Azure Arc extension.
If you use Edge Essentials, require a larger cache disk size, and already created a config.json file, append the key and value pair ("cachedStorageSize": "20Gi"
) to your existing config.json. Don't erase the previous contents of config.json.
If you require a larger cache disk size, create config.json with the following contents:
{
"cachedStorageSize": "20Gi"
}
Install Azure IoT Operations dependencies
Run the following command to install the Azure IoT Operations dependencies:
az k8s-extension create --cluster-name "${YOUR-CLUSTER-NAME}" --name "${NAME}-certmgr" --resource-group "${YOUR-RESOURCE-GROUP}" --cluster-type connectedClusters --extension-type microsoft.iotoperations.platform --scope cluster --release-namespace cert-manager
Install the Azure Container Storage enabled by Azure Arc extension
Install the Azure Container Storage enabled by Azure Arc extension using the following command:
Note
If you created a config.json file from the previous steps in Prepare Linux, append --config-file "config.json"
to the following az k8s-extension create
command. Any values set at installation time persist throughout the installation lifetime (including manual and auto-upgrades).
az k8s-extension create --resource-group "${YOUR-RESOURCE-GROUP}" --cluster-name "${YOUR-CLUSTER-NAME}" --cluster-type connectedClusters --name hydraext --extension-type microsoft.arc.containerstorage
Next steps
Once you complete these prerequisites, you can begin to create a Persistent Volume (PV) with Storage Key Authentication.