X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fscripts%2Fk8s_common.sh;h=06d2d0daf50a2510ad3bd4630c381f53fe3bc32b;hb=baee00d72f8fc2742b8912ac9b6ab30998e1879e;hp=0e9de864c4ac09c23c1d3ebaee38a9ead58cb41d;hpb=2b3bcd2deda4437d351f29ce58dfcd05fb887fdb;p=iec.git diff --git a/src/foundation/scripts/k8s_common.sh b/src/foundation/scripts/k8s_common.sh index 0e9de86..06d2d0d 100755 --- a/src/foundation/scripts/k8s_common.sh +++ b/src/foundation/scripts/k8s_common.sh @@ -4,6 +4,10 @@ DOCKER_VERSION=18.06.1~ce~3-0~ubuntu KUBE_VERSION=1.13.0-00 K8S_CNI_VERSION=0.6.0-00 +# Install basic software +sudo apt update +sudo apt install -y software-properties-common apt-transport-https curl + # Install Docker as Prerequisite curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo apt-key fingerprint 0EBFCD88 @@ -18,8 +22,6 @@ sudo apt install -y docker-ce=${DOCKER_VERSION} sudo swapoff -a # Install Kubernetes with Kubeadm -sudo apt update -sudo apt install -y apt-transport-https curl curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - cat <