Last active
February 6, 2020 05:08
-
-
Save azamara/bd989d560c8d75ae192ccfe5f76f28e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ETCD_VERSION=${ETCD_VERSION:-v3.4.3} | |
curl -L https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz -o etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
tar xzvf etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
rm etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
cd etcd-$ETCD_VERSION-linux-amd64 | |
sudo cp etcd /usr/local/bin/ | |
sudo cp etcdctl /usr/local/bin/ | |
rm -rf etcd-$ETCD_VERSION-linux-amd64 | |
etcdctl version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment