ved*_*ave 22 amazon-web-services kubernetes amazon-eks aws-config
我创建了 eks 集群,尝试将其与本地 cli 连接,为此,我安装了 aws-cli 并提供了正确的“aws configure”凭据。我用来连接 aws 的用户具有 EKS 相关策略。我仍然收到以下错误...
E0209 21:09:44.893284 2465691 memcache.go:238] couldn't get current server API group list: the server has asked for the client to provide credentials
E0209 21:09:45.571635 2465691 memcache.go:238] couldn't get current server API group list: the server has asked for the client to provide credentials
E0209 21:09:46.380542 2465691 memcache.go:238] couldn't get current server API group list: the server has asked for the client to provide credentials
E0209 21:09:47.105407 2465691 memcache.go:238] couldn't get current server API group list: the server has asked for the client to provide credentials
E0209 21:09:47.869614 2465691 memcache.go:238] couldn't get current server API group list: the server has asked for the client to provide credentials
error: You must be logged in to the server (the server has asked for the client to provide credentials)
Run Code Online (Sandbox Code Playgroud)
就我而言,我用来创建集群和配置 kubectl 的 aws 键是不同的。他们两个是不同的aws身份。
要授予其他用户访问控制面板的权限,请遵循以下步骤
当我连接到 Amazon EKS API 服务器时,如何解决您必须登录到服务器未经授权的错误。
这解决了我的问题
| 归档时间: |
|
| 查看次数: |
80291 次 |
| 最近记录: |