> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-individual/deka-gpu/deka-gpu-kubernetes/storages/persistent-volume-claims/how-to-create-a-new-persistent-volume-claim-use-cli.md).

# 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](/guidance-for-individual/deka-gpu/deka-gpu-kubernetes/dashboard/download-kube-config.md).
{% 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](/guidance-for-individual/reference/how-to-use-kubeconfig-on-windows.md), and if you are using Linux click [this link](/guidance-for-individual/reference/how-to-use-kubeconfig-on-linux.md).
{% 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
```
