Giter Club home page Giter Club logo

Comments (5)

nicklausbrown avatar nicklausbrown commented on May 28, 2024 1

I'm glad this was helpful and curious if you made any progress?

You are correct that you would want to do your own custom container work for the tests, I thought k3d could be an inspiration. I saw your original testing on the cloud and thought this might help save some headache and money 😄

Additionally, my tool does cluster deletion too which might be something to consider if you haven't implemented the deleting operations for terraform. I didn't check this though, perhaps you already have!

from terraform-module-k3s.

xunleii avatar xunleii commented on May 28, 2024

Hi @nicklausbrown,

No, I have never considered implementing this. Even if k3d is not the right tool for the job (k3d and this module do the same job, i.e. provision a K3s cluster), using docker to start X nodes with an SSH server and run this module on them seems like a good idea.

Currently, there's an end-to-end test using a real Hetzner Cloud instances (with my own money), but it's not run manually and doesn't work properly on fork (because it requires some secrets to push comment on PR). So actually, using a local docker container could help me a lot to run these tests on every PR.

Thanks for your suggestion, I'll try to implement this feature this week-end.

NOTE: here is the workflow: https://github.com/xunleii/terraform-module-k3s/blob/master/.github/workflows/terraform.plan.yaml

from terraform-module-k3s.

xunleii avatar xunleii commented on May 28, 2024

Unfortunately, I underestimated the time needed to run a "full" compatible OS in order to install k3s on it 😅 (k3d uses an preinstalled k3s on a scratch image) and I didn't have enough time for now to continue. I have some plan but need more time to implement it.

But I will probably find some time in the next weeks to implement it (I hope at least).

from terraform-module-k3s.

github-actions avatar github-actions commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. If the issue still persists, please leave a comment and it will be reopened.

from terraform-module-k3s.

github-actions avatar github-actions commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. If the issue still persists, please leave a comment and it will be reopened.

from terraform-module-k3s.

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.