Giter Club home page Giter Club logo

Comments (8)

abergmeier avatar abergmeier commented on May 18, 2024

Tried to analyze but am not really sure, which Decoder the reflector uses.

from grafana-operator.

metalmatze avatar metalmatze commented on May 18, 2024

Yes. I've seen that too. Resolved by deleting the status of all Custom Resources. 🤷‍♂️

from grafana-operator.

pb82 avatar pb82 commented on May 18, 2024

Unfortunately there's no direct upgrade path from 2.0.0 to 3.0.0. It basically requires an uninstall, CRD update & reinstall. I'll put together more detailled instructions.

from grafana-operator.

abergmeier avatar abergmeier commented on May 18, 2024

there's no direct upgrade path from 2.0.0 to 3.0.0

Why is that?

from grafana-operator.

pb82 avatar pb82 commented on May 18, 2024

@abergmeier It's because the format of the resource status has changed. As your error indicates, phase is now a string. Also the whole status property is now handled as a subresource and finalizers are no longer used. Ideally we would have updated the CRD version but had some constraints that prevented us from doing so.

I've added upgrade steps: https://github.com/integr8ly/grafana-operator/blob/master/documentation/upgrade.md

Hope that help and sorry for the break in compatibility with older versions.

from grafana-operator.

abergmeier avatar abergmeier commented on May 18, 2024

Maybe in future have a look at other Operators like Tekton, which handle breaking Resource changes gracefully.

from grafana-operator.

abergmeier avatar abergmeier commented on May 18, 2024

Ideally we would have updated the CRD version but had some constraints that prevented us from doing so.

Can you elaborate? AFAIK CRD versions are not meant to change over time.

from grafana-operator.

HubertStefanski avatar HubertStefanski commented on May 18, 2024

There was a move to make the whole operator stateless, this meant removing some stateful fields from CRDs, hence the breaking change and major version bump for the operator from 2.0.0 -> 3.0.0, this now means that every version past 3.0.0 won't break on upgrade (hopefully), the added benefit was the fact that the operator wouldn't leave any "dirty" resources lying around since finalizers were no longer required. Overall this provides user with a more robust operator, the drawback is that the upgrade is quite bothersome in some cases.
Haven't heard of anyone else coming upon this , stale issue, Closing off.

from grafana-operator.

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.