- 08 Jul 2024
- 1 Minute to read
- Print
- DarkLight
Auto-Provisioned Volumes
- Updated on 08 Jul 2024
- 1 Minute to read
- Print
- DarkLight
(If you to create the volume before the pod/application is ready, or if need zone resiliency is applied, visit the “Advanced” section)
Be sure to complete the prerequisites, before beginning the configuration detailed below.
Go to QUICK START> Add Node and click on Kubernetes.
![image(9).png](http://cdn.document360.io/2396a9e6-b28f-429f-a2a7-ee405549e037/Images/Documentation/image(9).png)
Follow the displayed instructions. Copy the commands to your bash console, to install a Volumez connector on your node. All available nodes will be listed in the table below. Then, click on finish.
![image(10).png](http://cdn.document360.io/2396a9e6-b28f-429f-a2a7-ee405549e037/Images/Documentation/image(10).png)
Go to QUICK START> Add Volume and click on Create PVC. Give the PVC a name, define the volume size and select the associated Policy.
![image(11).png](http://cdn.document360.io/2396a9e6-b28f-429f-a2a7-ee405549e037/Images/Documentation/image(11).png)
Depending on the values that you enter, the proposed pricing information will be calculated and displayed, and a YAML file will be generated for you to copy to your Kubernetes cluster.
![image(12).png](http://cdn.document360.io/2396a9e6-b28f-429f-a2a7-ee405549e037/Images/Documentation/image(12).png)
Use the YAML file in your Kubectl by using the apply -f command.
The PVC has now been created. As soon as the first Application to be served is identified, the CSI will allocate the PV (as a result of the VolumeBindingMode = WaitForFirstConsumer).
For Advanced configurations and more information on how to control the VolumeBindingMode advanced flows, see Advanced.
Notes:
In Auto-Provisioned mode Volumez CSI will create media nodes outside of the cluster, not as part of the cluster NodeGroups.
A Boolean flag named AutoProvisionedMode will be passed as a parameter in the StorageClass.yaml to enable the feature