错误:验证失败:[serviceaccounts"nginx-ingress"找不到,服务帐户"nginx-ingress-backend"未找到, [英] Error: validation failed: [serviceaccounts "nginx-ingress" not found, serviceaccounts "nginx-ingress-backend" not found,

本文介绍了错误:验证失败:[serviceaccounts"nginx-ingress"找不到,服务帐户"nginx-ingress-backend"未找到,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从今天晚上开始在Google Cloud中获取此错误. gcloud出了点问题.相同的命令一直有效到昨天.

getting this error from today evening in google cloud . Something happened wrong with gcloud. Same commands were working till yesterday.

helm install --name nginx-ingress stable/nginx-ingress --set rbac.create=true --set controller.publishService.enabled=true

我已遵循以下步骤: https://cloud.google.com/community/tutorials/nginx-ingress- gke

i have followed steps: https://cloud.google.com/community/tutorials/nginx-ingress-gke

在此处输入图片描述

(mykubeproject1)$ helm install --name nginx-ingress stable/nginx-ingress --set rbac.create=true --set controller.publishService.enabled=true

错误:验证失败:[找不到服务帐户"nginx-ingress",找不到服务帐户"nginx-ingress-backend",clusterroles.rbac.authorization.k8s.io"nginx-ingres" 找不到"s",找不到clusterrolebindings.rbac.authorization.k8s.io"nginx-ingress",找不到roles.rbac.authorization.k8s.io"nginx-ingress",rolebindings.rbac.authoriza tion.k8s.io"nginx-ingress"未找到,服务"nginx-ingress-controller"未找到,服务"nginx-ingress-default-backend"未找到,Deployments.apps"nginx-ingress-con" 找不到"troller",部署的应用程序"nginx-ingress-default-backend"未找到]

Error: validation failed: [serviceaccounts "nginx-ingress" not found, serviceaccounts "nginx-ingress-backend" not found, clusterroles.rbac.authorization.k8s.io "nginx-ingres s" not found, clusterrolebindings.rbac.authorization.k8s.io "nginx-ingress" not found, roles.rbac.authorization.k8s.io "nginx-ingress" not found, rolebindings.rbac.authoriza tion.k8s.io "nginx-ingress" not found, services "nginx-ingress-controller" not found, services "nginx-ingress-default-backend" not found, deployments.apps "nginx-ingress-con troller" not found, deployments.apps "nginx-ingress-default-backend" not found]

推荐答案

Helm 2.16.4存在问题: https://github.com/helm/helm/issues/7797

It is an issue with Helm 2.16.4: https://github.com/helm/helm/issues/7797

升级Helm 2.16.5将解决此问题

Upgrade Helm 2.16.5 will fix the problem

这篇关于错误:验证失败:[serviceaccounts"nginx-ingress"找不到,服务帐户"nginx-ingress-backend"未找到,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆