Git Product home page Git Product logo

Comments (3)

nicks avatar nicks commented on July 17, 2024

hmmmm...i'm not sure how to resolve this.

The problem is that kind v0.20.0 has deprecated containerd CRI mirrors, see https://github.com/kubernetes-sigs/kind/releases/tag/v0.20.0. It currently has a compatibility shim but it doesn't work in all cases. And the plan is that this will break upstream soon.

i filed a feature request here for a better api for this - kubernetes-sigs/kind#3354 - but the root of the issue isn't even Kind, it's upstream containerd deprecations.

from ctlptl.

iainsproat avatar iainsproat commented on July 17, 2024

Thanks for this @nicks - this is incredibly useful information, as I wasn't aware of the changes.

I've attempted to make the necessary changes, but it seems that insecure registries aren't supported (or I've made some misconfiguration): containerd/containerd#9454

from ctlptl.

iainsproat avatar iainsproat commented on July 17, 2024

I resolved this by upgrading to v0.8.28 and making the following amendments:

In the cluster-config.yaml:

apiVersion: ctlptl.dev/v1alpha1
kind: Cluster
product: kind
name: kind-mycluster
kindV1Alpha4Cluster:
  containerdConfigPatches:
    - |-
      [plugins."io.containerd.grpc.v1.cri".registry]
        config_path = "./containerd"

And introducing a file at the following path, containerd/example.internal:5001/hosts.toml:

server = "http://example.internal:5001"

[host."http://example.internal:5001"]
 capabilities = ["pull", "resolve", "push"]
 skip_verify = true

from ctlptl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.