Step 1 Log into AWS CLI and set your Kubernetes Context
The following steps require the aws cli. There are various methods of logging into the aws cli, for example, using single-sign-on login to your aws profile:
aws sso login --profile <profile>
Once logged in, set your Kubernetes context by running the command:
aws eks update-kubeconfig --region <region> --name <eks_cluster_name> --profile <profile>
replacing <region> and <eks_cluster_name> with the associated AWS region (e.g. eu-west-1) and name of your EKS cluster.
This will merge your EKS settings into your kubernetes configuration files (typically stored in the~/.kube/config file).