By Frank Oonk
Entreprenerd
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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 :-)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.