Before attempting to install VolumeSnapshot CRDs, it is important to confirm that the CRDs are not already present on the system. To do this, run the following command:
1
kubectl api-resources | grep volumesnapshot
Copied!
If CRDs are already present, the output should be similar to the output displayed below. The second column displays the version of the CRD installed (v1 in this case). Ensure that it is the correct version required by the CSI driver being used.
Assuming successful execution of the commands above, the v1 VolumeSnapshot CRDs should now be available on the system. Check this, by performing the Prerequisite step again.
Install v1beta1 CRDs
1.
To install v1beta1, follow the instructions in this Kubernetes documentation.
2.
Assuming successful execution of the commands above, the v1beta1 VolumeSnapshot CRDs should now be available on the system. You can check this, by performing the Prerequisite check again.