Code Monkey home page Code Monkey logo

Comments (7)

vdemeester avatar vdemeester commented on July 22, 2024 1

@rashedkvm most likely that's the case.
This is a tricky problem to solve. I do not exactly remember on which issue we discussed it, but using kubectl apply to upgrade from one release to the other is not really guaranteed to work. The main reason is that kubectl apply does merge the existing object and the "new" ones (the new release yaml). This can lead to errors such as what you got, or things where the CRD(s) still have the v1alpha1 "element" on the cluster, even though it's gone from the release.yaml.

This is where things like the operaton or an helm chart are useful.

There is very little we can do from tektoncd/pipeline, at least from how we do our release, today…

from pipeline.

vdemeester avatar vdemeester commented on July 22, 2024 1

Indeed, using operator, or having some "manual" maintenance planning. Here, it is a simple fix, you just need to update the configmap (commenting that field), and re-applying.

from pipeline.

rashedkvm avatar rashedkvm commented on July 22, 2024 1

@vdemeester you can mark this issue resolved. In our case, we are using the carvel tools to manage the upgrade of Tekton between LTS versions. Thanks!

from pipeline.

vdemeester avatar vdemeester commented on July 22, 2024 1

Sounds good @rashedkvm πŸ‘πŸΌ

from pipeline.

rashedkvm avatar rashedkvm commented on July 22, 2024

Perhaps related to the change introduced in #6937

from pipeline.

rszumlakowski avatar rszumlakowski commented on July 22, 2024

Hi @vdemeester. What's your recommendation however for us to go forward?

from pipeline.

rashedkvm avatar rashedkvm commented on July 22, 2024

@rszumlakowski I believe the recommended path is to use https://github.com/tektoncd/operator

We can try to declare the upgrade steps using https://carvel.dev/kapp/docs/v0.60.x/apply-ordering/

from pipeline.

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.