This docker image was created to help managing of cluster in AWS, for example managed with EKS, mainly in CI/CD environments.
Dockerhub: hrnchrdl/aws-kubectl
docker run --rm \
-e AWS_ACCESS_KEY_ID=<aws_access_key_id> \
-e AWS_SECRET_ACCESS_KEY=<aws_secret_access_key> \
-e AWS_DEFAULT_REGION=<aws_region_key> \
-e CLUSTER_NAME=<name_of_cluster> \
hnrchrdl/aws-kubectl \
kubectl get pods