# PVC container mongod - helm

**URL:** <https://forums.percona.com/t/pvc-container-mongod-helm/27531>\
**Category:** Percona Operator for MongoDB\
**Created:** [January 2, 2024, 1:04pm UTC](https://forums.percona.com/t/pvc-container-mongod-helm/27531 "2024-01-02T13:04:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_Fernandez](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/carlos_fernandez/32/14432_2.png) [@Carlos\_Fernandez](https://forums.percona.com/u/Carlos_Fernandez)\
**Post date:** [January 2, 2024, 1:04pm UTC](https://forums.percona.com/t/pvc-container-mongod-helm/27531/1 "2024-01-02T13:04:42Z")

</div>

Hello, I’m deploying the K8s Percona Server with Helm. I use StorageClass for volumes of data but I also need to have a PVC mounting point in the main container that I keep unfolded in my cluster.  
I use sidecardVolumes to add the volume to the pod for satisfaction but I don’t know how to mount it in the “mongod” container.

```auto
sidecarVolumes:
      - name: pvc-exports
        persistentVolumeClaim:
          claimName: pvc-exports

```

```auto
resources:
      limits:
        cpu: "2000m"
        memory: "3G"
      requests:
        cpu: "100m"
        memory: "0.5G"
    volumeMounts: ### No it works
        - mountPath: /exports
          name: pvc-exports
    volumeSpec:
      # emptyDir: {}
      # hostPath:
      # path: /data
      pvc:
        # annotations:
        # volume.beta.kubernetes.io/storage-class: example-hostpath
        # labels:
        # rack: rack-22
        storageClassName: oci-bv
        accessModes: ["ReadWriteOnce"]
        resources:
          requests:
            storage: 10Gi

```

---

<div class="post-metadata">

**Author:** ![Sergey\_Pronin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/sergey_pronin/32/14887_2.png) [@Sergey\_Pronin](https://forums.percona.com/u/Sergey_Pronin)\
**Post date:** [January 23, 2024, 5:26pm UTC](https://forums.percona.com/t/pvc-container-mongod-helm/27531/2 "2024-01-23T17:26:25Z")

</div>

Hello @Carlos_Fernandez ,

sorry for not responding sooner. Could you please tell what is the use case here? Knowing that would help us to provide better suggestions.

The sidecar volume is mounted into a sidecar, so I’m not sure what use does it have for you.
