Coder Social home page Coder Social logo

Comments (4)

dhrp avatar dhrp commented on June 12, 2024

Oh, and I found this file .terraform/tmp/rke2/a25fdd70-8f4d-4b2e-8336-b0cb75389ab0- locally, but the file is empty

from terraform-openstack-rke2.

remche avatar remche commented on June 12, 2024

I agree that upgrade mechanism is not really much (not at all...) documented, probably because it's a bit hacky and we don't use it much.

I just tested it though and it went well. To trigger the upgrade, you need the both do_upgrade and rke2_version to be set.

FYI, the code is here :
https://github.com/remche/terraform-openstack-rke2/blob/master/modules/node/main.tf#L97
and the script here :
https://github.com/remche/terraform-openstack-rke2/blob/master/modules/node/files/cloud-init.yml.tpl#L10

I will update the doc if you confirm it's working for you.

from terraform-openstack-rke2.

dhrp avatar dhrp commented on June 12, 2024

Thanks! I actually also figured it out a bit later and found it works well. I tried an upgrade and a downgrade.

And I think all these versions / combinations are supported:
https://github.com/rancher/rke2/tags

from terraform-openstack-rke2.

remche avatar remche commented on June 12, 2024

For the CLI fans :
gh release -R rancher/rke2 list

from terraform-openstack-rke2.

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.