EKSctl: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
SUM_SUFFIX=$(curl -sL "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_checksums.txt"|grep ${PLATFORM})
SUM_SUFFIX=$(curl -sL "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_checksums.txt"|grep ${PLATFORM})


cat << EXE | bash
cat << EXE|bash
cd ${HOME}/Downloads
cd ${HOME}/Downloads
echo ${SUM_SUFFIX}|sha256sum --check
echo ${SUM_SUFFIX}|sha256sum --check
Line 11: Line 11:
EXE
EXE


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

Revision as of 20:55, 22 July 2024

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


References