How to configure local kubectl to connect to kubernetes EKS cluster

2/21/2020

I am very new at kubernetes.

I have created a cluster setup at AWS EKS

Now I want to configure kubectl at a local ubuntu server so that I can connect at AWS EKS cluster.

Need to understand the process. [ If at all it is possible ]

-- ajoy sinha
amazon-eks
kubectl
kubernetes

2 Answers

2/21/2020

aws cli is used to create Kubernetes config (normally ~/.kube/config).

See details by: aws eks update-kubeconfig help

-- Ivan
Source: StackOverflow

2/21/2020

You can follow this guide. You need to do following steps.

1.Installing kubectl

2.Installing aws-iam-authenticator

3.Create a kubeconfig for Amazon EKS

4.Managing Users or IAM Roles for your Cluster

Also take a look at configuring kubeconfig using AWS CLI here

-- Arghya Sadhu
Source: StackOverflow