Code Monkey home page Code Monkey logo

Comments (5)

neoaggelos avatar neoaggelos commented on September 26, 2024 1

You can have a look at https://microk8s.io/docs/registry-private#configure-registry-mirrors-7

from microk8s.

neoaggelos avatar neoaggelos commented on September 26, 2024 1

Hi @NGarate, looks like you experience a different issue #4361. I see this repeated in the logs:

Apr 28 17:36:29 host1.ngarate.com microk8s.daemon-kubelite[2497430]: E0428 17:36:29.752440 2497430 kubelet.go:1542] "Failed to start ContainerManager" err="failed to initialize top level QOS containers: root container [kubepods] doesn't exist"

We recently did a bugfix to address this, #4505. This should now be out in the 1.29/edge channel and will be promoted to stable soon.

Could you be so kind as to test that this works for you? Try installing microk8s with:

sudo snap install microk8s --classic --channel 1.29/edge

Thank you!

from microk8s.

neoaggelos avatar neoaggelos commented on September 26, 2024

Hi @ZhouJian26 can you check the logs to see if this is similar to #4361?

from microk8s.

ZhouJian26 avatar ZhouJian26 commented on September 26, 2024

Probably it was this problem here kubernetes/registry.k8s.io#261 (in short: some cloud provider ip got banned by google registry, u can verify it by describing the calico pod in kube-system)

Warning  FailedCreatePodSandBox  2m30s (x47 over 12m)  kubelet  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to get sandbox image "registry.k8s.io/pause:3.7": failed to pull image "registry.k8s.io/pause:3.7": failed to pull and unpack image "registry.k8s.io/pause:3.7": failed to resolve reference "registry.k8s.io/pause:3.7": unexpected status from HEAD request to https://registry.k8s.io/v2/pause/manifests/3.7: 403 Forbidden

It would be great if we could replace a specific domain registry with a self-hosted alternative, such as Harbor, AWS ECR, etc. Is this feasible? @neoaggelos

I attempted to investigate this, and it appears to involve some configuration with containerd, but unfortunately, I haven't had any success. reference: https://microk8s.io/docs/registry-private

from microk8s.

NGarate avatar NGarate commented on September 26, 2024

I have the same exact error, in contabo.com with stable v1.29
inspection-report-20240428_175121.tar.gz

from microk8s.

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.