How to install eksctl on Windows/Linux/MacOS

How to install eksctl on Windows/Linux/MacOS

eksctl is a simple command-line utility that assists with the creation and management of Kubernetes clusters on Amazon EKS. It’s the fastest and most convenient method of creating a new cluster with nodes for Amazon EKS. For more information, please see https://eksctl.io/.

The information in this topic provides instructions on how to download and install eksctl binaries on macOS, Linux, and Windows. Please select the tab that corresponds to the operating system you use.

Installing or upgrading eksctl

Installation and upgrade of the eksctl command-line utility are described in this section. On the operating system tab, select the name of the operating system you wish to install eksctl on.

macOS

For macOS, you can use Homebrew to install or update eksctl

You can install EKSctl with Homebrew, an open-source tool, using these instructions to get started with Amazon EKS and macOS. With the eksctl Homebrew recipe, you will be able to install eksctl and any other dependencies you may need for Amazon EKS (such as kubectl).

As part of the recipe, you will also install the aws-iam-authenticator, which you need if you aren’t running AWS CLI version 1.16.156.

1. Follow these steps to install Homebrew on macOS if you don’t already have it installed.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/ master/install.sh)"

2. Weaveworks Homebrew tap should now be installed.

brew upgrade eksctl && brew link --overwrite eksctl

3. Upgrading or installing eksctl.

  • Follow these instructions to install eksctl:
brew install weaveworks/tap/eksctl
  • Upgrade the existing installation of eksctl by running the following command:
brew upgrade eksctl && brew link --overwrite eksctl

4. The following command will verify your installation has been successful.

ALSO READ  What happens if Lambda is unable to process a message from SQS before the visibility timeout expires?

eksctl version

Linux

Curl is used to install and upgrade eksctl under Linux

1. Here is the command to download and extract eksctl’s latest release.

curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/ download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp

2. /usr/local/bin should now contain the extracted binary.

sudo mv /tmp/eksctl /usr/local/bin

3. Use the following command to verify that your installation was successful. eksctl version

Windows

The installation of eksctl on Windows using the Chocolatey package manager

  1. Chocolatey needs to be installed on your Windows system before you can use the package.
  2. You might need to upgrade eksctl.
  3. Using the following command, you can install the binaries:
choco install -y eksctl
  • Alternatively, if they are already installed, you can upgrade them with this command:
choco upgrade -y eksctl
  1. The following command will verify your installation has been successful. eksctl version

Abhay Singh

I'm Abhay Singh, an Architect with 9 Years of It experience. AWS Certified Solutions Architect.

More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *