Skip to content

Commit

Permalink
sig-node: use registry.k8s.io for containerd-related jobs
Browse files Browse the repository at this point in the history
Related:
  - kubernetes/k8s.io#3411

Ensure containerd configuration for e2e tests use registry.k8s.io for
image pulling.

Signed-off-by: Arnaud Meukam <[email protected]>
  • Loading branch information
ameukam committed Mar 23, 2022
1 parent 6579214 commit b0a16a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jobs/e2e_node/containerd/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ disabled_plugins = ["restart"]
# Runtime handler used for runtime class test.
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.test-handler]
runtime_type = "io.containerd.runc.v2"

# Enable registry.k8s.io as the primary mirror for k8s.gcr.io
# See: https://github.com/kubernetes/k8s.io/issues/3411
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."k8s.gcr.io"]
endpoint = ["https://registry.k8s.io", "https://k8s.gcr.io",]

0 comments on commit b0a16a7

Please sign in to comment.