diff options
Diffstat (limited to 'ci/bento.k8s.diff')
-rw-r--r-- | ci/bento.k8s.diff | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ci/bento.k8s.diff b/ci/bento.k8s.diff new file mode 100644 index 0000000..6fac10f --- /dev/null +++ b/ci/bento.k8s.diff @@ -0,0 +1,33 @@ +diff --git a/ubuntu/scripts/update.sh b/ubuntu/scripts/update.sh +index 9e872b6..02b9058 100644 +--- a/ubuntu/scripts/update.sh ++++ b/ubuntu/scripts/update.sh +@@ -25,3 +25,28 @@ EOF + + # Upgrade all installed packages incl. kernel and kernel headers + apt-get -y dist-upgrade -o Dpkg::Options::="--force-confnew"; ++ ++apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D ++apt-key adv -k 58118E89F3A912897C070ADBF76221572C52609D ++cat << EOF | tee /etc/apt/sources.list.d/docker.list ++deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-xenial main ++EOF ++ ++curl -s http://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - ++cat <<EOF | tee /etc/apt/sources.list.d/kubernetes.list ++deb http://apt.kubernetes.io/ kubernetes-xenial main ++EOF ++apt-get update ++apt-get install -y --allow-downgrades docker-engine=1.12.6-0~ubuntu-xenial kubelet=1.7.0-00 kubeadm=1.7.0-00 kubectl=1.7.0-00 kubernetes-cni=0.5.1-00 ++ ++docker pull gcr.io/google_containers/kube-proxy-amd64:v1.7.10 ++docker pull gcr.io/google_containers/kube-apiserver-amd64:v1.7.10 ++docker pull gcr.io/google_containers/kube-controller-manager-amd64:v1.7.10 ++docker pull gcr.io/google_containers/kube-scheduler-amd64:v1.7.10 ++docker pull weaveworks/weave-npc:2.0.5 ++docker pull weaveworks/weave-kube:2.0.5 ++docker pull gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.4 ++docker pull gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.4 ++docker pull gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.4 ++docker pull gcr.io/google_containers/etcd-amd64:3.0.17 ++docker pull gcr.io/google_containers/pause-amd64:3.0 |