# How to Create a New Persistent Volume Claim use CLI

{% hint style="success" %}
For more information, you need to download the preconfig cube through the Deka GPU Service Portal, click [this link](https://docs.cloudeka.ai/deka-gpu/deka-gpu-kubernetes/dashboard/download-kube-config).
{% endhint %}

{% hint style="success" %}
To set up the kubeconfig, you need kubectl that matches your computer's operating system. If you are using Windows click [this link](https://docs.cloudeka.ai/reference/how-to-use-kubeconfig-on-windows), and if you are using Linux click [this link](https://docs.cloudeka.ai/reference/how-to-use-kubeconfig-on-linux).
{% endhint %}

To create a Persistent Volume Claims through the CLI by running the following syntax.

```bash
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.

{% code lineNumbers="true" %}

```yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: persistentvolumeclaim-o4il3
  namespace: default
spec:
  storageClassName: manual
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
```

{% endcode %}

To apply the configuration to pvc.yaml , you need to run the following syntax.

```bash
kubectl apply -f pvc.yaml
```
