May 2018
Intermediate to advanced
554 pages
13h 51m
English
There are plenty of ways to provision an etcd cluster. Normally, you'll use kubespray, kops (in AWS), or other provisioning tools.
Here, we'll simply show you how to perform a manual install. It's fairly easy as well:
// etcd installation script$ cat install-etcd.shETCD_VER=v3.3.0# ${DOWNLOAD_URL} could be ${GOOGLE_URL} or ${GITHUB_URL}GOOGLE_URL=https://storage.googleapis.com/etcdGITHUB_URL=https://github.com/coreos/etcd/releases/downloadDOWNLOAD_URL=${GOOGLE_URL}# delete tmp filesrm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gzrm -rf /tmp/etcd && rm -rf /etc/etcd && mkdir -p /etc/etcdcurl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gztar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz ...Read now
Unlock full access