How to Create a New Persistent Volume Claim use CLI
For more information, you need to download the preconfig cube through the Deka GPU Service Portal, click this link.
To create a Persistent Volume Claims through the CLI by running the following syntax.
nano pvc.yaml
You can customize the name on line 4, storageClassName on line 7 with storage-mgmt, and the storage size on line 12.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: persistentvolumeclaim-o4il3
namespace: default
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
To apply the configuration to pvc.yaml , you need to run the following syntax.
kubectl apply -f pvc.yaml
Last updated