Comments (5)
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.
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.
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.
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.
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)
- Error: Invalid Attribute Value Match HOT 4
- Generated kubeconfig cannot be used (certificate signed by unknown authority) HOT 3
- Deprecated attribute with Terraform 1.3.7 HOT 1
- API URL broken in build script when using dual stack configs HOT 4
- hcloud-k3s doesnt work with v3.3.0 HOT 1
- K3s Cluster Node(s) Upgrade HOT 8
- cdktf compatibility HOT 2
- Error "Variable `name` is deprecated" HOT 1
- terraform destroy gets stuck while draining the last node HOT 3
- Taking a node out of the configuration keeps the node within the cluster but cordoned HOT 8
- 🚧 Refresh this repository
- Refresh kubeconfig when terraform state is lost HOT 3
- When generate_ca_certificates = false, module does not export any kubeconfig HOT 3
- Custom k3s cluster name inside of the admin kubeconfig HOT 2
- :bug: Cannot scale up server nodes HOT 3
- Support for K3S AirGap deployments HOT 2
- Servers must have an odd number of nodes HOT 1
- Cluster CA certificate is not trusted HOT 7
- Unable to use on Windows Terraform HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-module-k3s.