Technical questionAccepted answer
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
dave vedant
Feb 10
0 views1
I created the eks cluster trying to connect it with local cli, for that, I installed the aws-cli and also provide the right 'aws configure' credentials. The user which I am using to connect with the aws have the EKS related policy. Still I am getting the following Error ...
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)
1 answer
Accepted answer · original discussion
Shivam Anand
PermalinkMar 18
Well in my case, the aws keys with which I created the cluster and with which I configured the kubectl were different. The two of them were different aws identities.
0 question comments
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.