...
These steps describe how to create a dynamically provisioned volume created through OCI File Storage access points and a corresponding persistent volume claim (PVC)using OCI Volume plugin.
Prepare a
storageclass.yaml
file with StorageClass manifest for OCI File Storage:
Code Block | ||
---|---|---|
| ||
kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: fss-dyn-storage provisioner: fss.csi.oraclecloud.com parameters: availabilityDomain: <availability_Domain> mountTargetSubnetOcid: <mount_target_subnet_ocid from terraform output> kmsKeyOcid: <kms_key_ocid from terraform output>output, omit if terraform output is empty> |
Note |
---|
|
Deploy the storage class
Code Block | ||
---|---|---|
| ||
kubectl apply -f storageclass.yaml |
...