To use Kops, first of all, your system should have kubectl installed. kubectl is basically a command-line client tool, which is used to communicate to with the master and perform some operations. So, basically here, we need two things:
- Setting up AWS CLI on your machine and configure the access keys and secret keys of that IAM user, which should have the following policy attached:
- AmazonEC2FullAccess
- AmazonRoute53FullAccess
- AmazonS3FullAccess
- IAMFullAccess
- AmazonVPCFullAccess
- Installing the kubectl command on your machine (Linux users):
# curl -LO https://storage.googleapis.com/kubernetes- release/release/v1.8.0/bin/linux/amd64/kubectl
# chmod +x kubectl
# mv kubectl /usr/local/bin/kubectl