# PMM2 installation through kubernetes

**URL:** <https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013>\
**Category:** PMM 2.x\
**Tags:** pmm\
**Created:** [September 8, 2020, 12:40am UTC](https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013 "2020-09-08T00:40:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wayne\_yang](https://avatars.discourse-cdn.com/v4/letter/w/ad7895/32.png) [@wayne\_yang](https://forums.percona.com/u/wayne_yang)\
**Post date:** [September 8, 2020, 12:40am UTC](https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013/1 "2020-09-08T00:40:30Z")

</div>

Does percona monitoring and management (PMM2) now be able to support installation at kubernetes? (from docker image)

---

<div class="post-metadata">

**Author:** ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)\
**Post date:** [September 14, 2020, 2:55pm UTC](https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013/2 "2020-09-14T14:55:00Z")

</div>

you can make it work if you write your heml chart for deployments, but it would require a lot of work.  
We do not have the official way to install PMM2 server in kubernetes at the moment, but it is on our roadmap.

---

<div class="post-metadata">

**Author:** ![wayne\_yang](https://avatars.discourse-cdn.com/v4/letter/w/ad7895/32.png) [@wayne\_yang](https://forums.percona.com/u/wayne_yang)\
**Post date:** [September 14, 2020, 9:30pm UTC](https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013/3 "2020-09-14T21:30:42Z")

</div>

Got it, thanks a lot!

---

<div class="post-metadata">

**Author:** ![lukehankins](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lukehankins/32/1398_2.png) [@lukehankins](https://forums.percona.com/u/lukehankins)\
**Post date:** [September 23, 2020, 12:57pm UTC](https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013/4 "2020-09-23T12:57:00Z")

</div>

There does exist a helm chart for pmm-server ([https://github.com/Percona-Lab/percona-openshift/tree/master/helm/pmm-server](https://github.com/Percona-Lab/percona-openshift/tree/master/helm/pmm-server)), which is referenced in [https://www.percona.com/blog/2020/07/23/using-percona-kubernetes-operators-with-percona-monitoring-and-management/](https://www.percona.com/blog/2020/07/23/using-percona-kubernetes-operators-with-percona-monitoring-and-management/). We had success wrapping that one in our own helm chart via a requirements.yaml, and overriding some of the items in the values.yaml file to make it fit our environment.

---

<div class="post-metadata">

**Author:** ![bethanyj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/bethanyj/32/3722_2.png) [@bethanyj](https://forums.percona.com/u/bethanyj)\
**Post date:** [June 8, 2021, 6:25pm UTC](https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013/5 "2021-06-08T18:25:43Z")

</div>

Hello Luke! I feel like I have pmm2 running in Kubernetes (rancher) almost perfectly (no errors, grafana UI is all good)-- but when my Percona DB pmm-agents try to connect, they seemingly succeed (password validation works) but pmm-agent doesn’t actually secure a connection. I’m wonder if it’s something about the ClusterIP or Ingresses that are causing these connections to fail. I was wondering if you’re able to share any information about how you configured those parts? We also based our installation off of the Helm chart but did not use “LoadBalancer” for the service (our Rancher admins advised me otherwise.) Did you use the “kind: Service … type: LoadBalancer” bits verbatim from the Helm chart?

---

<div class="post-metadata">

**Author:** ![ajay](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ajay/32/5888_2.png) [@ajay](https://forums.percona.com/u/ajay)\
**Post date:** [January 25, 2022, 6:58pm UTC](https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013/6 "2022-01-25T18:58:19Z")

</div>

Hi @lukehankins, i went through the blog but pmm installation there is not done with single helm chart. and did see that we have to deploy pmm-client through manifests. is there any helm repo which has both? or is there any standard documentation on how to deploy it with helm (both server and client)?

Thank you,

---

<div class="post-metadata">

**Author:** ![Chrish91](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Chrish91](https://forums.percona.com/u/Chrish91)\
**Post date:** [February 17, 2022, 2:58pm UTC](https://forums.percona.com/t/pmm2-installation-through-kubernetes/8013/7 "2022-02-17T14:58:20Z")

</div>

Hi,

I have also problems with the pmm-agents. I got the message that the “pmm-agent with ID “pmm-server” is not currently connected”. Have you solved your problem? And if how?

The thing is I really like to use the helm chart with the newest version at 2.26.0.

Thanks and have a good one!
