Skip to content

Commit

Permalink
Merge pull request #576 from wewark/master
Browse files Browse the repository at this point in the history
Update references from k8s.gcr.io to registry.k8s.io
  • Loading branch information
k8s-ci-robot authored Feb 13, 2023
2 parents fe41fca + 0c04707 commit 40f69d3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ Follow these steps to make changes and release a new binary.
The image SHAs should be added to [`images/k8s-staging-dns/images.yaml`](https://github.com/kubernetes/k8s.io/blob/main/k8s.gcr.io/images/k8s-staging-dns/images.yaml).
The SHAs can be obtained by running the command `python parse-image-sha.py <TAG>`
This will return the SHAs for kube-dns as well as node-cache images. Node-cache images are always promoted, kube-dns images are promoted if there is a change to kubedns/vulnerability fix.
6. Images will be available in the repo k8s.gcr.io/dns/. The node-cache image with tag 1.15.14 can be found at k8s.gcr.io/dns/k8s-dns-node-cache:1.15.14. Older versions are at k8s.gcr.io/k8s-dns-node-cache:<TAG>
6. Images will be available in the repo registry.k8s.io/dns/. The node-cache image with tag 1.15.14 can be found at registry.k8s.io/dns/k8s-dns-node-cache:1.15.14. Older versions are at registry.k8s.io/k8s-dns-node-cache:<TAG>
7. Submit a PR for the kubernetes/kubernetes repository to switch to the new
version of the containers. Example - https://github.com/kubernetes/kubernetes/pull/106189
4 changes: 2 additions & 2 deletions images/dnsmasq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CONTAINER_PREFIX ?= k8s-dns
ALL_ARCH := amd64 arm arm64 ppc64le s390x
MANIFEST_IMAGE := $(REGISTRY)/$(CONTAINER_PREFIX)-dnsmasq
IMAGE := $(CONTAINER_PREFIX)-dnsmasq-$(ARCH)
COMPILE_IMAGE := k8s.gcr.io/kube-cross:v1.7.6-k8s1.6-0
COMPILE_IMAGE := registry.k8s.io/kube-cross:v1.7.6-k8s1.6-0
OUTPUT_DIR := _output/$(ARCH)

# Ensure that the docker command line supports the manifest images
Expand All @@ -31,7 +31,7 @@ export DOCKER_CLI_EXPERIMENTAL=enabled
# Uploaded: Feb 10, 2023, 11:04:43 PM
BASEIMAGE ?= gcr.io/distroless/base-debian11@sha256:5d40383d8cc15830334f30f4a19e2af16923e02ceeca275f0acc39bdf3a1c577
ifeq ($(ARCH),amd64)
COMPILE_IMAGE := k8s.gcr.io/build-image/debian-base-$(ARCH):bullseye-v1.4.1
COMPILE_IMAGE := registry.k8s.io/build-image/debian-base-$(ARCH):bullseye-v1.4.1
else ifeq ($(ARCH),arm)
TRIPLE ?= arm-linux-gnueabihf
QEMUARCH := arm
Expand Down
4 changes: 2 additions & 2 deletions pkg/e2e/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package e2e

const (
etcdImage = "quay.io/coreos/etcd:v3.0.14"
hyperkubeImage = "k8s.gcr.io/hyperkube:v1.5.1"
dnsmasqImage = "k8s.gcr.io/k8s-dns-dnsmasq-amd64:1.14.5"
hyperkubeImage = "registry.k8s.io/hyperkube:v1.5.1"
dnsmasqImage = "registry.k8s.io/k8s-dns-dnsmasq-amd64:1.14.5"
)

type Options struct {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/cluster/manifests/addon-manager.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"containers": [
{
"name": "kube-addon-manager",
"image": "k8s.gcr.io/kube-addon-manager-amd64:v6.1",
"image": "registry.k8s.io/kube-addon-manager-amd64:v6.1",
"resources": {
"requests": {
"cpu": "5m",
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/cluster/manifests/master.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"containers": [
{
"name": "controller-manager",
"image": "k8s.gcr.io/hyperkube-amd64:v1.5.1",
"image": "registry.k8s.io/hyperkube-amd64:v1.5.1",
"command": [
"/hyperkube",
"controller-manager",
Expand All @@ -30,7 +30,7 @@
},
{
"name": "scheduler",
"image": "k8s.gcr.io/hyperkube-amd64:v1.5.1",
"image": "registry.k8s.io/hyperkube-amd64:v1.5.1",
"command": [
"/hyperkube",
"scheduler",
Expand All @@ -41,7 +41,7 @@
},
{
"name": "setup",
"image": "k8s.gcr.io/hyperkube-amd64:v1.5.1",
"image": "registry.k8s.io/hyperkube-amd64:v1.5.1",
"command": [
"/setup-files.sh",
"IP:10.0.0.1,DNS:kubernetes,DNS:kubernetes.default,DNS:kubernetes.default.svc,DNS:kubernetes.default.svc.cluster.local"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/sidecar/Dockerfile.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
#
# Builds the docker container for the e2e test.
FROM k8s.gcr.io/kube-dnsmasq-amd64:1.4
FROM registry.k8s.io/kube-dnsmasq-amd64:1.4
MAINTAINER Bowei Du <[email protected]>

COPY bin/amd64/sidecar /sidecar
Expand Down

0 comments on commit 40f69d3

Please sign in to comment.