You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Separate from the the redirect, k8s.gcr.io will be frozen [and will not be updated with new images
76
-
after April 3rd, 2023](https://kubernetes.io/blog/2023/02/06/k8s-gcr-io-freeze-announcement/). `k8s.gcr.io`
77
-
will not get any new releases, patches, or security updates. It will continue to remain available to
78
-
help people migrate, but it **WILL** be phased out entirely in the future.
79
-
80
-
## I run in a restricted environment. What should I do?
81
-
82
-
For impacted users that run in a restricted environment, the best option is to copy over the
83
-
required images to a private registry or configure a pull-through cache in their registry.
84
-
85
-
There are several tools to copy images between registries;
86
-
[crane](https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_copy.md) is one
87
-
of those tools, and images can be copied to a private registry by using `crane copy SRC DST`. There
88
-
are also vendor-specific tools, like e.g. Google’s
89
-
[gcrane](https://cloud.google.com/container-registry/docs/migrate-external-containers#copy), that
90
-
perform a similar function but are streamlined for their platform.
91
-
92
-
## How can I check registry.k8s.io is accessible from my cluster?
36
+
## How can I check if I am impacted?
93
37
94
38
To test connectivity to registry.k8s.io and being able to pull images from there, here is a sample
95
39
command that can be executed in the namespace of your choosing:
96
40
97
41
```
98
-
kubectl run hello-world --tty --rm -i --image=registry.k8s.io/busybox:latest sh
42
+
kubectl run hello-world -ti --rm --image=registry.k8s.io/busybox:latest --restart=Never -- date
99
43
```
100
44
101
45
When you run the command above, here’s what to expect when things work correctly:
102
46
103
47
```
104
-
$ kubectl run hello-world --tty --rm -i --image=registry.k8s.io/busybox:latest sh
105
-
If you don't see a command prompt, try pressing enter.
106
-
/ # exit
107
-
Session ended, resume using 'kubectl attach hello-world -c hello-world -i -t' command when the pod is running
48
+
$ kubectl run hello-world -ti --rm --image=registry.k8s.io/busybox:latest --restart=Never -- date
49
+
Fri Feb 31 07:07:07 UTC 2023
108
50
pod "hello-world" deleted
109
51
```
110
52
111
-
112
-
## What kind of errors will I see if I’m impacted?
53
+
## What kind of errors will I see if I’m impacted?
113
54
114
55
Errors may depend on what kind of container runtime you are using, and what endpoint you are routed
115
56
to, but it should present such as `ErrImagePull`, `ImagePullBackOff`, or a container failing to be
@@ -122,6 +63,25 @@ certificate:
122
63
FailedCreatePodSandBox: Failed to create pod sandbox: rpc error: code = Unknown desc = Error response from daemon: Head “https://us-west1-docker.pkg.dev/v2/k8s-artifacts-prod/images/pause/manifests/3.8”: x509: certificate signed by unknown authority
123
64
```
124
65
66
+
## What images will be impacted?
67
+
68
+
**ALL** images on k8s.gcr.io will be impacted by this change. k8s.gcr.io hosts many images beyond
69
+
Kubernetes releases. A large number of Kubernetes subprojects host their images there as well. Some
70
+
examples include the `dns/k8s-dns-node-cache`, `ingress-nginx/controller`, and
0 commit comments