What does "poddisruptionbudgets.policy "zk-pdb" already exists" mean while installing with helm?

2.2k Views Asked by At

I've been following this tutorial for setting up dremio with k8s: https://www.dremio.com/tutorials/python-dremio-and-kubernetes/

when attempting to install using charts in https://github.com/dremio/dremio-cloud-tools/, I get the following error message:

Error: release mean-waterbuffalo failed: poddisruptionbudgets.policy "zk-pdb" already exists

What does this mean and how should one go about resolving it?

2

There are 2 best solutions below

1
On BEST ANSWER

After you use helm install to install a chart first time and you want to reinstall it again for some reason then before running the helm install you can clean up the old installation using helm uninstall

Alternatively if you intend just to upgrade an existing chart installation with some changes you can use helm upgrade

1
On

Check the PDB using:

kubectl get poddisruptionbudgets zk-pdb

If found, delete it with:

kubectl delete poddisruptionbudgets zk-pdb