# PMM client restarts

**URL:** <https://forums.percona.com/t/pmm-client-restarts/23867>\
**Category:** PMM 2.x\
**Tags:** pmm, closed-no-reply\
**Created:** [July 24, 2023, 6:40pm UTC](https://forums.percona.com/t/pmm-client-restarts/23867 "2023-07-24T18:40:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snizza](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@snizza](https://forums.percona.com/u/snizza)\
**Post date:** [July 24, 2023, 6:40pm UTC](https://forums.percona.com/t/pmm-client-restarts/23867/1 "2023-07-24T18:40:24Z")

</div>

I am testing the PMM on kubernetes cluster. I am running percona operator with percona-pxc, haproxy and pmm-server. When I enable pmm client in helm values it starts pmm-client side-cars in percona-pxc and haproxy pods. I am adding mysq services from pmm-client with `pmm-admin add mysql`. The problem is that in the event when pmm-client container restarts I have to run `pmm-admin add mysql` again. How can I keep the metrics going even if the pmm-client restarts?
