当我运行kubectl cluster-info显示服务时被禁止

时间:2019-11-19 09:58:05

标签: kubectl

我收到kubectl cluster-info的以下错误:

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Error from server (Forbidden): services is forbidden: User "admin" cannot list resource "services" in API group "" in the namespace "kube-system"

1 个答案:

答案 0 :(得分:2)

您可以在IAM->成员->下的GCP控制台中检查权限,在右侧的Over granted permissions选项卡上单击,它将显示权限列表。请注意services.list权限。