Accessing multiple AWS EKS clusters#
Lens Desktop supports access to multiple Amazon Elastic Kubernetes Service (Amazon EKS) clusters using the single sign-on mechanism.
Prerequisites for Amazon EKS clusters to be visible in Lens Desktop:
- The IAM Identity Center is enabled. See Enable IAM Identity Center for details.
- All the users and/or groups have access to all the targeted Amazon EKS clusters. You can assign access in the IAM Identity Center console. See the Single sign-on access article on the official AWS Documentation site.
-
All Amazon EKS clusters have appropriate
kubeconfig
files. To create or updtate a Amazon EKSkubeconfig
file, run the following command:aws eks update-kubeconfig --region region-code --name my-cluster
See also
-
An article about configuring AWS CLI to use the single sign-on mechanism
Configuring the AWS CLI to use AWS IAM Identity Center (successor to AWS Single Sign-On)
-
An example of creating a
kubeconfig
file for a Amazon EKS cluster: -
An example of configuring Amazon EKS single sign-on: