我继承了一个eks集群,但是我不知道哪个IAM用户被设置为“主用户”(创建集群的用户总是有system:master访问权限)。sh-4.2$ kubectl get configmap -n kube-system
Error from server (Forbidden): configmaps is forbidden:resource "configmaps" in API group "" in the namespace "k
我有一个创建EKS集群然后在CloudFormation中运行kubectl命令的EKS堆栈。
问题是集群只对运行cloudformation堆栈的用户(例如人类用户)具有访问权限。在本例中,使用kubectl运行lambda的角色使用You must be logged in to the server (Unauthorized)失败,因为它不是触发cloud
我有一个不是我创建的EKS集群。我想通过运行kubectl命令来操作集群,但我一直收到"error: You must be logged in to the server (Unauthorized)"命令。例如,error: You must be logged in to the server (Unauthorized)
我的IAM用户帐户有Admin