# Upgrade percona operator/pxc clusters using helm charts

**URL:** <https://forums.percona.com/t/upgrade-percona-operator-pxc-clusters-using-helm-charts/12469>\
**Category:** Percona Operator for MySQL\
**Tags:** kubernetes\
**Created:** [October 8, 2021, 5:20am UTC](https://forums.percona.com/t/upgrade-percona-operator-pxc-clusters-using-helm-charts/12469 "2021-10-08T05:20:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dixo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dixo/32/3245_2.png) [@dixo](https://forums.percona.com/u/dixo)\
**Post date:** [October 8, 2021, 5:20am UTC](https://forums.percona.com/t/upgrade-percona-operator-pxc-clusters-using-helm-charts/12469/1 "2021-10-08T05:20:31Z")

</div>

Greetings,

We have a Percona Kubernetes Operator and pxc clusters (v1.7.0) deployed using the official helm charts by following the guidelines at [Install Percona XtraDB Cluster using Helm](https://www.percona.com/doc/kubernetes-operator-for-pxc/helm.html) and now I am planning to upgrade it to the latest v1.9.0 release and I went through the upgrade docs available at [Update Percona Operator for MySQL based on Percona XtraDB Cluster](https://www.percona.com/doc/kubernetes-operator-for-pxc/update.html#id3) but unfortunately,  
it doesn’t talk about the upgrade guidelines for helm chart based deployments. Appreciate if someone could help me out with this, Thanks in advance 🙂

```auto
helm -n pxc ls
NAME NAMESPACE	REVISION	UPDATED STATUS CHART APP VERSION
audio pxc 2 2021-05-13 06:47:01.015555492 +0000 UTC	deployed	pxc-db-0.1.16 1.7.0      
pxc-operator	pxc 1 2021-04-26 11:47:19.781457585 +0000 UTC	deployed	pxc-operator-0.1.11	1.7.0      

```

Cheers,  
Prasad.

---

<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:** [October 11, 2021, 8:36am UTC](https://forums.percona.com/t/upgrade-percona-operator-pxc-clusters-using-helm-charts/12469/2 "2021-10-11T08:36:08Z")

</div>

Hello @dixo ,

thank you for submitting this. This is a good question.  
The upgrade through helm boils down to chart replacement.

**Operator**  
Replace the old version with newer version. It is recommended to upgrade from 1.7.0 to 1.8.0 first and then go to 1.9.0.

**Database**  
Same here, but upgrade would be with downtime. Delete the chart for DB, but ensure that you keep the PVCs.  
Roll out new chart.

---

<div class="post-metadata">

**Author:** ![dixo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dixo/32/3245_2.png) [@dixo](https://forums.percona.com/u/dixo)\
**Post date:** [October 13, 2021, 4:50am UTC](https://forums.percona.com/t/upgrade-percona-operator-pxc-clusters-using-helm-charts/12469/3 "2021-10-13T04:50:29Z")

</div>

Thanks much for the update, @Sergey_Pronin! It’s sad that it will incur a downtime for the upgrades if we use the helm charts, It would be beneficial if we can mention this limitation and the upgrade procedure somewhere in the docs.

I will test this procedure ion my toy cluster and let you know how it goes. Thanks!
