# Running PMM on Kubernetes with non root user

**URL:** <https://forums.percona.com/t/running-pmm-on-kubernetes-with-non-root-user/23282>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [July 3, 2023, 7:14am UTC](https://forums.percona.com/t/running-pmm-on-kubernetes-with-non-root-user/23282 "2023-07-03T07:14:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Animesh\_Agarwal](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/animesh_agarwal/32/9369_2.png) [@Animesh\_Agarwal](https://forums.percona.com/u/Animesh_Agarwal)\
**Post date:** [July 3, 2023, 7:14am UTC](https://forums.percona.com/t/running-pmm-on-kubernetes-with-non-root-user/23282/1 "2023-07-03T07:14:44Z")

</div>

Hi Team,

Due to security constraints, we don’t have permissions to run PMM container with root users on our K8s server. However as per [Helm - Percona Monitoring and Management](https://docs.percona.com/percona-monitoring-and-management/setting-up/server/helm.html), PMM needs root user permissions.

Can anyone please help in understanding where does PMM requires root user permissions? What will fail if we run with unprivileged user?

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [July 3, 2023, 3:03pm UTC](https://forums.percona.com/t/running-pmm-on-kubernetes-with-non-root-user/23282/2 "2023-07-03T15:03:40Z")

</div>

Hi @Animesh_Agarwal thank you for posting to the Percona forums!

PMM will run with podman which does not run as root. Perhaps you can try this technology and it will work in your environment.

---

<div class="post-metadata">

**Author:** ![Animesh\_Agarwal](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/animesh_agarwal/32/9369_2.png) [@Animesh\_Agarwal](https://forums.percona.com/u/Animesh_Agarwal)\
**Post date:** [July 26, 2023, 4:59am UTC](https://forums.percona.com/t/running-pmm-on-kubernetes-with-non-root-user/23282/3 "2023-07-26T04:59:23Z")

</div>

Hi @Michael_Coburn

Thanks for the reply.

Can you please elaborate or share some resources on how to run the podman’s rootless container on kubernetes?

From what I found in the [docs](https://docs.percona.com/percona-monitoring-and-management/setting-up/server/podman.html), podman setup also uses the same image _[docker.io/percona/pmm-server](http://docker.io/percona/pmm-server)_

If both podman and docker setup are using the same image, what is the limitation in running the pmm image in docker as non-root ?
