# Key 	pgReplicas..volumeSpec.matchLabels

**URL:** <https://forums.percona.com/t/key-pgreplicas-volumespec-matchlabels/18499>\
**Category:** Percona Operator for PostgreSQL\
**Created:** [November 11, 2022, 8:57am UTC](https://forums.percona.com/t/key-pgreplicas-volumespec-matchlabels/18499 "2022-11-11T08:57:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergey\_Zhuravlev](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/sergey_zhuravlev/32/6410_2.png) [@Sergey\_Zhuravlev](https://forums.percona.com/u/Sergey_Zhuravlev)\
**Post date:** [November 11, 2022, 8:57am UTC](https://forums.percona.com/t/key-pgreplicas-volumespec-matchlabels/18499/1 "2022-11-11T08:57:47Z")

</div>

Hi  
What is the value for a particular replica?  
What do you mean between two points?

tried adding a replica name. like this - not working  
without a replica name does not work either

```auto
  pgReplicas:
    hotStandby:
      size: 1
    nsi-repl1:
      volumeSpec:
        size: 1G
        accessmode: ReadWriteOnce
        storagetype: create
        storageclass: ""
        matchLabels: "pv=nsi-repl"

```

for pgPrimary this place looks like this and works as it should

```auto
  pgPrimary:
    volumeSpec:
      size: 1G
      accessmode: ReadWriteOnce
      storagetype: create
      storageclass: ""
      matchLabels: "pv=nsi-prim"

```

How to correctly specify the value for a specific replica?

---

<div class="post-metadata">

**Author:** ![Sergey\_Zhuravlev](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/sergey_zhuravlev/32/6410_2.png) [@Sergey\_Zhuravlev](https://forums.percona.com/u/Sergey_Zhuravlev)\
**Post date:** [November 13, 2022, 5:48pm UTC](https://forums.percona.com/t/key-pgreplicas-volumespec-matchlabels/18499/2 "2022-11-13T17:48:57Z")

</div>

It comes out like this: pgReplicas.hotStandby.volumeSpec  
With one replica it worked correctly like this.

```auto
  pgReplicas:
    hotStandby:
      size: 1
      volumeSpec:
        size: 1G
        accessmode: ReadWriteOnce
        storagetype: create
        storageclass: ""
        matchLabels: "pv=nsi-repl"

```
