The eksctl command line utility
This topic covers eksctl, a simple command line utility for creating and
managing Kubernetes clusters on Amazon EKS. The eksctl command line utility provides
the fastest and easiest way to create a new cluster with nodes for Amazon EKS.
For more information and to see the official documentation, visit https://eksctl.io/
Installing or upgrading eksctl
This section helps you to install or upgrade the latest version of the
eksctl command line utility. Select the tab with the name of the
operating system that you want to install eksctl on.
- macOS
-
To install or upgrade
eksctlon macOS using HomebrewThe easiest way to get started with Amazon EKS and macOS is by installing
eksctlwith Homebrew. The eksctlHomebrew recipe installseksctland any other dependencies that are required for Amazon EKS, such askubectl. The recipe also installs the aws-iam-authenticator, which is required if you don't have the AWS CLI version 1.16.156 or higher installed.-
If you do not already have Homebrew installed on macOS, install it with the following command.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" -
Install the Weaveworks Homebrew tap.
brew tap weaveworks/tap -
Install or upgrade
eksctl.-
Install
eksctlwith the following command:brew install weaveworks/tap/eksctl -
If
eksctlis already installed, run the following command to upgrade:brew upgrade eksctl && brew link --overwrite eksctl
-
-
Test that your installation was successful with the following command.
eksctl versionNote The
GitTagversion should be at least0.66.0. If not, check your terminal output for any installation or upgrade errors, or manually download an archive of the release from https://github.com/weaveworks/eksctl/releases/download/0.66.0/eksctl_Darwin_amd64.tar.gz, extract eksctl, and then run it.
-
- Linux
-
To install or upgrade
eksctlon Linux usingcurl-
Download and extract the latest release of
eksctlwith the following command.curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp -
Move the extracted binary to
/usr/local/bin.sudo mv /tmp/eksctl /usr/local/bin -
Test that your installation was successful with the following command.
eksctl versionNote The
GitTagversion should be at least0.66.0. If not, check your terminal output for any installation or upgrade errors, or replace the address in step 1 withhttps://github.com/weaveworks/eksctl/releases/download/0.66.0/eksctl_Linux_amd64.tar.gzand complete steps 1-3 again.
-
- Windows
-
To install or upgrade
eksctlon Windows using Chocolatey-
If you do not already have Chocolatey installed on your Windows system, see Installing Chocolatey
. -
Install or upgrade
eksctl.-
Install the binaries with the following command:
choco install -y eksctl -
If they are already installed, run the following command to upgrade:
choco upgrade -y eksctl
-
-
Test that your installation was successful with the following command.
eksctl versionNote The
GitTagversion should be at least0.66.0. If not, check your terminal output for any installation or upgrade errors, or manually download an archive of the release from https://github.com/weaveworks/eksctl/releases/download/0.66.0/eksctl_Windows_amd64.zip, extract eksctl, and then run it.
-

