Skip to content

Can't pull images from local registry #555

Open
@ghost

Description

We're missing configuration from the /etc/containerd/config.toml to allow kind to pull images from the local registry spun up by --registry.

I'll open a PR to add the configuration as part of the containerdConfigPatches in kind.go.

The required configuration is:

    [plugins."io.containerd.grpc.v1.cri".registry.mirrors]
      [plugins."io.containerd.grpc.v1.cri".registry.mirrors."kind-registry:5000"]
        endpoint = ["http://kind-registry:5000"]
    [plugins."io.containerd.grpc.v1.cri".registry.configs]
      [plugins."io.containerd.grpc.v1.cri".registry.configs."kind-registry:5000".tls]
        insecure_skip_verify = true

This configuration is required, e.g., for Apache Camel-K to be used with kn quickstart. Without this configuration, no images can be pulled from the local registry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions