Using pre-provisioned volumes in AKS
This document describes how to use a pre-provisioned volume in your cluster.
Create a Portworx volume using pxctl
First create a volume using the Portworx CLI. On one of the nodes with Portworx installed, run the following command:
/opt/pwx/bin/pxctl volume create testvol --size 2
For more details on creating volumes using pxctl
, see Concepts.
Alternatively, you can also use snapshots that you previously created.
Use the Portworx volume
Once you have a Portworx volume, you can use it in 2 different ways: