kubeasz/down/download.sh

42 lines
1.7 KiB
Bash
Raw Normal View History

2017-11-11 19:14:21 +08:00
#!/bin/bash
2019-03-19 18:00:54 +08:00
# This script describes where to download the official released binaries needed
2019-06-23 07:45:30 +08:00
# It's suggested to download using 'tools/easzup -D', everything needed will be ready in '/etc/ansible'
2017-11-11 19:14:21 +08:00
# example releases
2019-06-10 23:55:33 +08:00
K8S_VER=v1.13.7
ETCD_VER=v3.3.10
DOCKER_VER=18.09.6
CNI_VER=v0.7.5
2019-06-10 23:55:33 +08:00
DOCKER_COMPOSE_VER=1.23.2
HARBOR_VER=v1.9.4
2019-05-18 18:07:34 +08:00
CONTAINERD_VER=1.2.6
2019-06-23 07:45:30 +08:00
echo -e "\nNote: It's suggested to download using 'tools/easzup -D', everything needed will be ready in '/etc/ansible'."
2017-11-28 21:13:21 +08:00
2019-05-18 18:07:34 +08:00
echo -e "\n----download k8s binary at:"
echo -e https://dl.k8s.io/${K8S_VER}/kubernetes-server-linux-amd64.tar.gz
2017-11-11 19:14:21 +08:00
2019-05-18 18:07:34 +08:00
echo -e "\n----download etcd binary at:"
echo -e https://github.com/coreos/etcd/releases/download/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz
echo -e https://storage.googleapis.com/etcd/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz
2017-11-11 19:14:21 +08:00
2019-05-18 18:07:34 +08:00
echo -e "\n----download docker binary at:"
echo -e https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VER}.tgz
2017-11-11 19:14:21 +08:00
2019-05-18 18:07:34 +08:00
echo -e "\n----download ca tools at:"
echo -e https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
echo -e https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
echo -e https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64
2017-11-11 19:14:21 +08:00
2019-05-18 18:07:34 +08:00
echo -e "\n----download docker-compose at:"
echo -e https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VER}/docker-compose-Linux-x86_64
2017-12-25 15:05:21 +08:00
2019-05-18 18:07:34 +08:00
echo -e "\n----download harbor-offline-installer at:"
echo -e https://storage.googleapis.com/harbor-releases/harbor-offline-installer-${HARBOR_VER}.tgz
2017-12-25 15:05:21 +08:00
2019-05-18 18:07:34 +08:00
echo -e "\n----download cni plugins at:"
echo -e https://github.com/containernetworking/plugins/releases
2018-01-07 22:32:14 +08:00
2019-05-18 18:07:34 +08:00
echo -e "\n----download containerd at:"
echo -e https://storage.googleapis.com/cri-containerd-release/cri-containerd-${CONTAINERD_VER}.linux-amd64.tar.gz