使用 helm 安装时 "poddisruptionbudgets.policy "zk-pdb“已经存在”是什么意思?

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

我一直在按照本教程使用 k8s 设置 dremio:https://www.dremio.com/tutorials/python-dremio-and-kubernetes/

尝试使用 https://github.com/dremio/dremio-cloud-tools/ 中的图表进行安装时,我收到以下错误消息:

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

这是什么意思,应该如何解决?

使用以下方法检查 PDB:

kubectl get poddisruptionbudgets zk-pdb

如果找到,将其删除:

kubectl delete poddisruptionbudgets zk-pdb

第一次使用 helm install 安装 chart 后,由于某种原因你想重新安装它,然后在 运行 helm 安装之前,你可以使用 [=11 清理旧安装=]

或者,如果您只想升级现有图表安装并进行一些更改,您可以使用 helm upgrade