kubernetes 仅使用新的RoleBinding apiVersion升级掌舵图

zyfwsgd6  于 2023-06-21  发布在  Kubernetes
关注(0)|答案(1)|浏览(112)

我的部署作业失败,在test_cluter上出现以下错误

Error: UPGRADE FAILED: current release manifest contains removed kubernetes api(s) for this kubernetes version and it is therefore unable to build the kubernetes objects for performing the diff. error from kubernetes: unable to recognize "": no matches for kind "RoleBinding" in version "rbac.authorization.k8s.io/v1beta1"

test_cluster -> apiVersion=rbac.authorization.k8s.io/v1beta1
dev_cluster -> apiVersion=rbac.authorization.k8s.io/v1(部署成功)
现在,在清单文件中进行本地更改在这里没有帮助。失败,出现相同错误。如何更新/升级已部署的 Helm 图表?有人能帮助我理解这个问题并指出补救措施吗?
TIA!

kse8i1jr

kse8i1jr1#

正如@MikhailZnak建议的那样。
对于release notes,v1 beta1替换为v1。只需使用RoleBinding资源的v1编辑v1 beta1

相关问题