Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 498e644

Browse files
authored
Merge pull request #745 from dghubble/hyperkube
Switch from quay.io to gcr.io hyperkube image
2 parents 7f9130c + 0950e2b commit 498e644

File tree

6 files changed

+20
-16
lines changed

6 files changed

+20
-16
lines changed

hack/multi-node/user-data.sample

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ coreos:
88
content: |
99
[Service]
1010
EnvironmentFile=/etc/environment
11-
Environment=KUBELET_IMAGE_URL=quay.io/coreos/hyperkube
12-
Environment=KUBELET_IMAGE_TAG=v1.8.1_coreos.0
11+
Environment=KUBELET_IMAGE_URL=docker://gcr.io/google_containers/hyperkube
12+
Environment=KUBELET_IMAGE_TAG=v1.8.1
1313
Environment="RKT_RUN_ARGS=--uuid-file-save=/var/cache/kubelet-pod.uuid \
1414
--volume var-lib-cni,kind=host,source=/var/lib/cni \
1515
--volume opt-cni-bin,kind=host,source=/opt/cni/bin \
1616
--volume var-log,kind=host,source=/var/log \
1717
--mount volume=var-log,target=/var/log \
1818
--mount volume=var-lib-cni,target=/var/lib/cni \
19-
--mount volume=opt-cni-bin,target=/opt/cni/bin"
19+
--mount volume=opt-cni-bin,target=/opt/cni/bin \
20+
--insecure-options=image"
2021
ExecStartPre=/bin/mkdir -p /opt/cni/bin
2122
ExecStartPre=/bin/mkdir -p /etc/kubernetes/manifests
2223
ExecStartPre=/bin/mkdir -p /etc/kubernetes/cni/net.d

hack/quickstart/kubelet.master

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[Service]
2-
Environment=KUBELET_IMAGE_URL=quay.io/coreos/hyperkube
3-
Environment=KUBELET_IMAGE_TAG=v1.8.1_coreos.0
2+
Environment=KUBELET_IMAGE_URL=docker://gcr.io/google_containers/hyperkube
3+
Environment=KUBELET_IMAGE_TAG=v1.8.1
44
Environment="RKT_RUN_ARGS=\
55
--uuid-file-save=/var/cache/kubelet-pod.uuid \
66
--volume etc-resolv,kind=host,source=/etc/resolv.conf --mount volume=etc-resolv,target=/etc/resolv.conf \
77
--volume opt-cni-bin,kind=host,source=/opt/cni/bin --mount volume=opt-cni-bin,target=/opt/cni/bin \
88
--volume var-log,kind=host,source=/var/log --mount volume=var-log,target=/var/log \
9-
--volume var-lib-cni,kind=host,source=/var/lib/cni --mount volume=var-lib-cni,target=/var/lib/cni"
9+
--volume var-lib-cni,kind=host,source=/var/lib/cni --mount volume=var-lib-cni,target=/var/lib/cni \
10+
--insecure-options=image"
1011
EnvironmentFile=/etc/environment
1112
ExecStartPre=/bin/mkdir -p /etc/kubernetes/manifests
1213
ExecStartPre=/bin/mkdir -p /opt/cni/bin

hack/quickstart/kubelet.worker

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[Service]
2-
Environment=KUBELET_IMAGE_URL=quay.io/coreos/hyperkube
3-
Environment=KUBELET_IMAGE_TAG=v1.8.1_coreos.0
2+
Environment=KUBELET_IMAGE_URL=docker://gcr.io/google_containers/hyperkube
3+
Environment=KUBELET_IMAGE_TAG=v1.8.1
44
Environment="RKT_RUN_ARGS=\
55
--uuid-file-save=/var/cache/kubelet-pod.uuid \
66
--volume etc-resolv,kind=host,source=/etc/resolv.conf --mount volume=etc-resolv,target=/etc/resolv.conf \
77
--volume opt-cni-bin,kind=host,source=/opt/cni/bin --mount volume=opt-cni-bin,target=/opt/cni/bin \
88
--volume var-log,kind=host,source=/var/log --mount volume=var-log,target=/var/log \
9-
--volume var-lib-cni,kind=host,source=/var/lib/cni --mount volume=var-lib-cni,target=/var/lib/cni"
9+
--volume var-lib-cni,kind=host,source=/var/lib/cni --mount volume=var-lib-cni,target=/var/lib/cni \
10+
--insecure-options=image"
1011
EnvironmentFile=/etc/environment
1112
ExecStartPre=/bin/mkdir -p /etc/kubernetes/manifests
1213
ExecStartPre=/bin/mkdir -p /opt/cni/bin

hack/single-node/user-data.sample

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ coreos:
88
content: |
99
[Service]
1010
EnvironmentFile=/etc/environment
11-
Environment=KUBELET_IMAGE_URL=quay.io/coreos/hyperkube
12-
Environment=KUBELET_IMAGE_TAG=v1.8.1_coreos.0
11+
Environment=KUBELET_IMAGE_URL=docker://gcr.io/google_containers/hyperkube
12+
Environment=KUBELET_IMAGE_TAG=v1.8.1
1313
Environment="RKT_RUN_ARGS=--uuid-file-save=/var/cache/kubelet-pod.uuid \
1414
--volume var-lib-cni,kind=host,source=/var/lib/cni \
1515
--volume opt-cni-bin,kind=host,source=/opt/cni/bin \
1616
--volume var-log,kind=host,source=/var/log \
1717
--mount volume=var-log,target=/var/log \
1818
--mount volume=var-lib-cni,target=/var/lib/cni \
19-
--mount volume=opt-cni-bin,target=/opt/cni/bin"
19+
--mount volume=opt-cni-bin,target=/opt/cni/bin \
20+
--insecure-options=image"
2021
ExecStartPre=/bin/mkdir -p /opt/cni/bin
2122
ExecStartPre=/bin/mkdir -p /etc/kubernetes/manifests
2223
ExecStartPre=/bin/mkdir -p /etc/kubernetes/cni/net.d

hack/tests/conformance-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
CONFORMANCE_REPO=${CONFORMANCE_REPO:-github.com/coreos/kubernetes}
5-
CONFORMANCE_VERSION=${CONFORMANCE_VERSION:-v1.8.1+coreos.0}
4+
CONFORMANCE_REPO=${CONFORMANCE_REPO:-github.com/kubernetes/kubernetes}
5+
CONFORMANCE_VERSION=${CONFORMANCE_VERSION:-v1.8.1}
66

77
usage() {
88
echo "USAGE:"
@@ -42,7 +42,7 @@ BUILD="cd /go/src/k8s.io/kubernetes && \
4242

4343
CONFORMANCE="\
4444
KUBECONFIG=/kubeconfig KUBERNETES_CONFORMANCE_TEST=Y go run hack/e2e.go \
45-
-- -v --test -check-version-skew=false --provider=skeleton --test_args='--ginkgo.focus=\[Conformance\]'"
45+
-- -v --test --check-version-skew=false --provider=skeleton --test_args='--ginkgo.focus=\[Conformance\]'"
4646

4747
CMD="sudo rkt run --insecure-options=image ${RKT_OPTS} docker://golang:1.8.4 --exec /bin/bash -- -c \"${INIT} && ${BUILD} && ${CONFORMANCE}\""
4848
ssh -q -o UserKnownHostsFile=/dev/null -o stricthostkeychecking=no -i ${ssh_key} -p ${ssh_port} core@${ssh_host} "${CMD}"

pkg/asset/images.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var DefaultImages = ImageVersions{
88
FlannelCNI: "quay.io/coreos/flannel-cni:v0.3.0",
99
Calico: "quay.io/calico/node:v2.6.1",
1010
CalicoCNI: "quay.io/calico/cni:v1.11.0",
11-
Hyperkube: "quay.io/coreos/hyperkube:v1.8.1_coreos.0",
11+
Hyperkube: "gcr.io/google_containers/hyperkube:v1.8.1",
1212
Kenc: "quay.io/coreos/kenc:0.0.2",
1313
KubeDNS: "gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5",
1414
KubeDNSMasq: "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.5",

0 commit comments

Comments
 (0)