Code Monkey home page Code Monkey logo

Comments (7)

neoaggelos avatar neoaggelos commented on May 24, 2024

Hi @williamb541, which MicroK8s version are you using? Can you attach an inspection report tarball (generate with microk8s inspect). Thanks

from microk8s.

williamb541 avatar williamb541 commented on May 24, 2024

Hi @neoaggelos!
I'm using MicroK8s version 1.28.4.

Here is the link to the inspection report tarball:
[inspection-report-20231227_181851.tar.gz](https://github.com/canonical/microk8s/files/13788221/inspection-report-
20231227_181851.tar.gz)

from microk8s.

neoaggelos avatar neoaggelos commented on May 24, 2024

Hi @williamb541

I see this in the logs

Dec 26 18:53:58 microk8s-021 microk8s.daemon-containerd[877]: time="2023-12-26T18:53:58.074829897Z" level=info msg="PullImage \"metallb/speaker:v0.9.3\""

The metallb addon is trying to pull images from dockerhub, but these are no longer available. Newer microk8s versions use images from quay.io for this, and have for a long time now (see #3855)

Has this cluster been upgraded from older versions? If so, can you try:

# disable metallb
sudo microk8s disable metallb

# update the addons repository to the latest version
sudo microk8s addons repo update core --force

# enable metallb
sudo microk8s enable metallb

from microk8s.

williamb541 avatar williamb541 commented on May 24, 2024

I followed your steps for upgrading the addon repo and enabled metallb without any problem. Thank you!

To answer your question, a few weeks ago, I upgraded the microk8s version from 1.24 to 1.28.4.

Are there any other changes I need to make as a consequence of upgrading the addon repo?

from microk8s.

neoaggelos avatar neoaggelos commented on May 24, 2024

Hi @williamb541 (happy new year!). No, that should be all :)

As a side note, make sure to try and not jump minor versions when upgrading K8s clusters (e.g. upgrade should be 1.24 -> 1.25 -> 1.26 -> 1.27 -> 1.28, otherwise you might get breaking behaviour in the internal state of Kubernetes components).

from microk8s.

williamb541 avatar williamb541 commented on May 24, 2024

Hi @neoaggelos, happy new year to you too!
I did upgrade from 1.24 to 1.28. Would it be a good idea to reinstall microk8s?
Also, is there a clean way to shutdown a microk8s cluster?

from microk8s.

ktsakalozos avatar ktsakalozos commented on May 24, 2024

Hi @williamb541, upgrading should fine, you do not need to reinstall your cluster if it works.

If you want to stop a single node cluster you can try sudo microk8s stop.

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.