Skip to content

Kubectl Installation

Kubectl is not yet in the distribution package managers, so we'll need to install it manually.

curl -LO "$(\
  curl -s\
chmod +x kubectl
mv kubectl ~/.local/bin/kubectl

Configure kubectl

Set editor

# File ~/.bashrc

Set auto completion

# File ~/.bashrc
source <(kubectl completion bash)

Configure EKS cluster

To configure the access to an existing cluster, we'll let aws-cli create the required files:

aws eks update-kubeconfig --name {{ cluster_name }}

Last update: 2020-03-02