Question

How do i upgrade a helm chart (bitnami/wordpress) that is installed with a one-click app on Kubernetes?

Posted March 24, 2020 137 views
WordPressOne-Click Install AppsKubernetes

I want to upgrade the Helm Chart bitnami/wordpress on my DO live Kubernetes pod in the namespace “wordpress”, where the bitnami/wordpress chart is deployed. Because it installs version Helm Chart 8.0.0.0.

I’ve installed WordPress on Kubernetes with the 1-click install and everything is working fine. I can access my WordPress url via the loadbalancer, kubectl & doctl are able to communicate with the live Kubernetes cluster. So, I’ve installed helm v3.1.2. on my local machine (MacOs) and add the bitnami repo. When i enter: helm search repo, i get the list of repositories.

But, when i try to install the chart:

helm install --namespace wordpress wordpress bitnami/wordpress

It says:

Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: namespace: wordpress, name: wordpress-mariadb, existing_kind: /v1, Kind=Secret, new_kind: /v1, Kind=Secret

And when i try to upgrade the chart:

helm upgrade --namespace wordpress wordpress bitnami/wordpress

It says:

Error: UPGRADE FAILED: "wordpress" has no deployed releases

Question:

How can i upgrade the standard Wordpress helm chart on my live DO Kubernetes pod? / Sync the charts that are deployed live, with my local machine?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Well i tried a couple of things like e.g. the helm 2to3 plugin, (because the Helm Chart WordPress in the 1-click install, was installed with helm 2/tiller and i use helm 3). So, i ended up deleting al the pods and the wordpress namespace en installing the bitnami/wordpress chart by myself :-)

Submit an Answer