在更新Google Kubernetes Engine(GKE)时遇到错误。

huangapple go评论63阅读模式
英文:

Facing error while updating kubernets in gke

问题

我在更新GKE中的Kubernetes时遇到了错误

错误:请求具有不足的身份验证范围

我对Kubernetes还很陌生
我正在尝试在GKE中更新Kubernetes
遇到一个错误
我需要你的帮助,因为我已经尝试了多次,但仍然遇到相同的错误

英文:

I am facing error while updating kunbernets in gke

Error: Request had insufficient authentication scopes

I'm new to kubernets
I am trying update kubernets in gke
Facing an error
I need your help on this so I have tried multiple times but I'm getting same error

答案1

得分: 1

错误 403:请求具有不足的身份验证范围是由于身份验证范围不足引起的,这很可能意味着您的 GKE 集群上未启用工作负载标识。
请参考此 官方文档 并执行所提到的故障排除步骤,以启用工作负载标识,这将帮助您解决此问题。

如果上述过程未解决您的问题,那么您需要将 cloud-platform 访问范围设置为允许访问大多数云 API,然后仅授予服务帐号相关的 IAM 角色。请参考此 官方文档 以获取有关 访问范围 的更多详细信息。

英文:

The Error 403: Request had insufficient authentication scopes is due to insufficient authentication scopes, then that likely means that Workload Identity is not enabled on your GKE cluster.
Refer to this official doc and perform the troubleshooting steps mentioned to enable the Workload identity which will help you to resolve this issue.

If the above process has not resolved your issue then You need to set the cloud-platform access scope to allow access to most of the Cloud APIs, then grant the service account only relevant IAM roles. Refer to this official doc for more details in accessing the scopes.

huangapple
  • 本文由 发表于 2023年6月11日 19:40:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/76450327.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定