From fe5fdb4892afe10d4062eb1093f4c74277fab27d Mon Sep 17 00:00:00 2001 From: Patrick Baxter Date: Wed, 24 Aug 2016 22:11:11 +0000 Subject: [PATCH 1/5] cluster/images/hyperkube: add ceph-common --- cluster/images/hyperkube/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/images/hyperkube/Dockerfile b/cluster/images/hyperkube/Dockerfile index 81eeb320d482e..6b4646bcc3be5 100644 --- a/cluster/images/hyperkube/Dockerfile +++ b/cluster/images/hyperkube/Dockerfile @@ -32,6 +32,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y \ nfs-common \ glusterfs-client \ cifs-utils \ + ceph-common \ && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y \ && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y \ && DEBIAN_FRONTEND=noninteractive apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # CACHEBUST From 05572b52566610d8548d86938725193d7d9d0cce Mon Sep 17 00:00:00 2001 From: Tom Denham Date: Tue, 7 Jun 2016 10:04:56 -0700 Subject: [PATCH 2/5] Add Calico to hyperkube image --- cluster/images/hyperkube/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/images/hyperkube/Makefile b/cluster/images/hyperkube/Makefile index 36bcb0f162d91..b000cbc789c5e 100644 --- a/cluster/images/hyperkube/Makefile +++ b/cluster/images/hyperkube/Makefile @@ -84,6 +84,8 @@ else endif # Download CNI curl -sSL --retry 5 https://storage.googleapis.com/kubernetes-release/network-plugins/cni-${ARCH}-${CNI_RELEASE}.tar.gz | tar -xz -C ${TEMP_DIR}/cni-bin + curl -sSL --retry 5 -o ${TEMP_DIR}/cni-bin/bin/calico https://github.com/projectcalico/calico-cni/releases/download/v1.8.0/calico + chmod +x ${TEMP_DIR}/cni-bin/bin/calico docker build --pull -t ${REGISTRY}/hyperkube-${ARCH}:${VERSION} ${TEMP_DIR} rm -rf "${TEMP_DIR}" From 93c75ba3b2a11b334c400c6a03f41f5df4676572 Mon Sep 17 00:00:00 2001 From: Patrick Baxter Date: Wed, 14 Jun 2017 23:55:36 +0000 Subject: [PATCH 3/5] cluster/images/hyperkube: bump calico-cni to v1.9.1 --- cluster/images/hyperkube/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/images/hyperkube/Makefile b/cluster/images/hyperkube/Makefile index b000cbc789c5e..9537f588180b2 100644 --- a/cluster/images/hyperkube/Makefile +++ b/cluster/images/hyperkube/Makefile @@ -84,7 +84,7 @@ else endif # Download CNI curl -sSL --retry 5 https://storage.googleapis.com/kubernetes-release/network-plugins/cni-${ARCH}-${CNI_RELEASE}.tar.gz | tar -xz -C ${TEMP_DIR}/cni-bin - curl -sSL --retry 5 -o ${TEMP_DIR}/cni-bin/bin/calico https://github.com/projectcalico/calico-cni/releases/download/v1.8.0/calico + curl -sSL --retry 5 -o ${TEMP_DIR}/cni-bin/bin/calico https://github.com/projectcalico/calico-cni/releases/download/v1.9.1/calico chmod +x ${TEMP_DIR}/cni-bin/bin/calico docker build --pull -t ${REGISTRY}/hyperkube-${ARCH}:${VERSION} ${TEMP_DIR} From bcb0853cbfef55da6248ce63e4e11b74abe7943a Mon Sep 17 00:00:00 2001 From: Lucas Serven Date: Mon, 9 Oct 2017 16:25:30 +0200 Subject: [PATCH 4/5] cluster/images/hyperkube: bump calico-cni to v1.11.0 --- cluster/images/hyperkube/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/images/hyperkube/Makefile b/cluster/images/hyperkube/Makefile index 9537f588180b2..144661925d043 100644 --- a/cluster/images/hyperkube/Makefile +++ b/cluster/images/hyperkube/Makefile @@ -84,7 +84,7 @@ else endif # Download CNI curl -sSL --retry 5 https://storage.googleapis.com/kubernetes-release/network-plugins/cni-${ARCH}-${CNI_RELEASE}.tar.gz | tar -xz -C ${TEMP_DIR}/cni-bin - curl -sSL --retry 5 -o ${TEMP_DIR}/cni-bin/bin/calico https://github.com/projectcalico/calico-cni/releases/download/v1.9.1/calico + curl -sSL --retry 5 -o ${TEMP_DIR}/cni-bin/bin/calico https://github.com/projectcalico/calico-cni/releases/download/v1.11.0/calico chmod +x ${TEMP_DIR}/cni-bin/bin/calico docker build --pull -t ${REGISTRY}/hyperkube-${ARCH}:${VERSION} ${TEMP_DIR} From bca2396facc14020a78edc5383c73957fd38895c Mon Sep 17 00:00:00 2001 From: Lucas Serven Date: Tue, 24 Oct 2017 12:30:10 +0200 Subject: [PATCH 5/5] cluster/images/hyperkube: install cni plugins v0.6.0 --- cluster/images/hyperkube/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cluster/images/hyperkube/Makefile b/cluster/images/hyperkube/Makefile index 144661925d043..544623b24fa02 100644 --- a/cluster/images/hyperkube/Makefile +++ b/cluster/images/hyperkube/Makefile @@ -20,7 +20,7 @@ REGISTRY?=gcr.io/google_containers ARCH?=amd64 TEMP_DIR:=$(shell mktemp -d -t hyperkubeXXXXXX) -CNI_RELEASE=0799f5732f2a11b329d9e3d51b9c8f2e3759f2ff +CNI_RELEASE=v0.6.0 CACHEBUST?=1 QEMUVERSION=v2.7.0 @@ -60,7 +60,7 @@ ifndef VERSION $(error VERSION is undefined) endif cp -r ./* ${TEMP_DIR} - mkdir -p ${TEMP_DIR}/cni-bin + mkdir -p ${TEMP_DIR}/cni-bin/bin cp ../../../_output/dockerized/bin/linux/${ARCH}/hyperkube ${TEMP_DIR} chmod a+rx ${TEMP_DIR}/hyperkube @@ -83,7 +83,8 @@ else curl -sSL --retry 5 https://github.com/multiarch/qemu-user-static/releases/download/$(QEMUVERSION)/x86_64_qemu-${QEMUARCH}-static.tar.gz | tar -xz -C ${TEMP_DIR} endif # Download CNI - curl -sSL --retry 5 https://storage.googleapis.com/kubernetes-release/network-plugins/cni-${ARCH}-${CNI_RELEASE}.tar.gz | tar -xz -C ${TEMP_DIR}/cni-bin + curl -sSL --retry 5 https://github.com/containernetworking/cni/releases/download/${CNI_RELEASE}/cni-${ARCH}-${CNI_RELEASE}.tgz | tar -xz -C ${TEMP_DIR}/cni-bin/bin + curl -sSL --retry 5 https://github.com/containernetworking/plugins/releases/download/${CNI_RELEASE}/cni-plugins-${ARCH}-${CNI_RELEASE}.tgz | tar -xz -C ${TEMP_DIR}/cni-bin/bin curl -sSL --retry 5 -o ${TEMP_DIR}/cni-bin/bin/calico https://github.com/projectcalico/calico-cni/releases/download/v1.11.0/calico chmod +x ${TEMP_DIR}/cni-bin/bin/calico