Hi@akhtar,
In Kubernetes, no command is available to create PVC directly. You need to create one YML file and create one script for PVC. I have attached one example below for your reference.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: lwpvc1
spec:
resources:
requests:
storage: 20Gi
accessModes:
- ReadWriteOnce
Copy this code in a YML file and run the below-given command.
$ kubectl create -f file_name
It will automatically create one PVC for you.