AWS EKS를 설정하다 보면 아래와 같은 에러가 나올때가 있다 ``` shell "aws-iam-authenticator": executable file not found in $PATH ``` kubectl client를 EKS에 연결해서 사용하기 위해 필요한데 aws-iam-authenticator를 설치하기만 하면 해결 가능하다. ``` shell $ curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/aws-iam-authenticator $ chmod +x ./aws-iam-authenticator $ mkdir -p $HOME/bin && cp ./aws-iam-authenticator $HOME/bin/aws-iam-authenticator && export PATH=$PATH:$HOME/bin $ echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc ``` 설치가 완료되면 아래와 같이 확인이 가능하다 ``` shell $ aws-iam-authenticator help A tool to authenticate to Kubernetes using AWS IAM credentials Usage: aws-iam-authenticator [command] Available Commands: help Help about any command init Pre-generate certificate, private key, and kubeconfig files for the server. ```