【AWS】 【kubernetes】AmazonLinux2でkubectlコマンドを使う

https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-linux
curl -LO https://storage.googleapis.com/kubernetes-release/release
/`curl -s https://storage.googleapis.com/kubernetes-release/release
/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
kubectl version
出力結果
Client Version: version.Info{Major:"1", Minor:"16", GitVersion
:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b",
GitTreeState:"clean", BuildDate:"2019-10-15T19:18:23Z", GoVersion
:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused
- did you specify the right host or port?