EKSctl

From Chorke Wiki
Jump to navigation Jump to search
PLATFORM=$(uname -s)_$(dpkg --print-architecture)
wget -cq https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_${PLATFORM}.tar.gz -P ${HOME}/Downloads
SUM_SUFFIX=$(curl -sL "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_checksums.txt"|grep ${PLATFORM})

cat << EXE|bash
cd ${HOME}/Downloads
echo ${SUM_SUFFIX}|sha256sum --check
tar -xzf eksctl_${PLATFORM}.tar.gz
rm  -rf  eksctl_${PLATFORM}.tar.gz
EXE

cat << EXE|sudo bash
cd ${HOME}/Downloads
mv eksctl /usr/local/bin
EXE

Playground

eksctl version

References