我正在跟踪此页中的文档,下面是下面的代码
helm install docker-registry stable/docker-registry -f docker-configs.yaml当我运行它时,我会得到这个错误。
WARNING: This chart is deprecated Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "extensions/v1beta1"该命令是否有更新,还是缺少了什么?
发布于 2022-06-29 17:10:59
安装的图表的这是来源。那里的apiVersion被设置为extensions/v1beta 1,这已经被废弃了。尝试使用https://github.com/twuni/docker-registry.helm
helm添加twuni https://helm.twun.io && helm repo更新helm安装twuni/docker- -f docker-configs.yaml
在此之后,我得到了以下错误:获取此错误:错误:安装失败: Ingress.extensions“docker”无效:notations.kubernetes.io/inress.class:无效值:"nginx":当类字段也被设置时无法设置
从docker-configs.yaml文件中删除kubernetes.io/ingress.class: nginx帮助我消除了这个错误。
https://stackoverflow.com/questions/71075837
复制相似问题