Commit Graph

783 Commits

Author SHA1 Message Date
Silvio Moioli aa87402359
make path to ssh scripts absolute for clarity (#68)
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-05-30 13:19:20 -04:00
Silvio Moioli 0eeff27aea
tofu/aws: bugfix: correct vpc creation logic (#66)
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-05-30 13:18:37 -04:00
Silvio Moioli 7a0b4186e6
k6/create_k8s_resources: script improvements (#64)
* create_k8s_resources: make namespace parametric

Signed-off-by: Silvio Moioli <silvio@moioli.net>

* create_k8s_resources: make data size parametric

Signed-off-by: Silvio Moioli <silvio@moioli.net>

* create_k8s_resources: make vus parametric

Signed-off-by: Silvio Moioli <silvio@moioli.net>

* create_k8s_resources: bugfix: actually add data to configmaps

Signed-off-by: Silvio Moioli <silvio@moioli.net>

---------

Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-05-30 12:38:51 -04:00
Chris Kim 3d94c8e874
Fix harvester things (#58)
* Fix Harvester auto-downloaded image namespace

Signed-off-by: Chris Kim <oats87g@gmail.com>

* Disable IPv6 on Harvester VMs

Signed-off-by: Chris Kim <oats87g@gmail.com>

---------

Signed-off-by: Chris Kim <oats87g@gmail.com>
2025-05-30 12:37:26 -04:00
Iramis Valentin 53479fd4ac
add support for extra env vars, add rancher chart repo override (#54)
* add support for extra env vars, add rancher chart repo override

* fix ineffectual assignment
2025-05-29 11:18:01 -04:00
Iramis Valentin c8c62cc430
remove inifinitely recursive Date() function (#55) 2025-05-01 12:39:43 -04:00
Iramis Valentin 8b4a04bedb
Update steve schema tests 2025-04-29 11:34:27 -04:00
Iramis Valentin f47e010e16
Add Harvester infra modules (#13)
Signed-off-by: Silvio Moioli <silvio@moioli.net>
Co-authored-by: Silvio Moioli <silvio@moioli.net>
2025-04-14 15:46:52 -04:00
Iramis Valentin eeacca101c
Merge pull request #50 from git-ival/complex-crd
Add complex tests for CRD changes from 2.9 Steve updates
2025-04-14 13:18:02 -04:00
Iramis Valentin 3f2aed0b86
Merge pull request #43 from git-ival/lastused-tokens-k6
Basic Lastused tokens k6 test
2025-04-14 13:17:50 -04:00
Iramis Valentin 3a0640389d
remove unused randomarray func 2025-04-14 17:02:57 +00:00
Iramis Valentin 75ff0e9121
remove unnecessary util func 2025-04-14 16:05:10 +00:00
Iramis Valentin 889e2c89e5
update scenario names 2025-04-14 16:01:47 +00:00
Iramis Valentin 46eca3818a
add more complex CRD tests around update scenarios and general load 2025-03-26 18:49:45 +00:00
Iramis Valentin c59396d19a
add basic tests around CRDs 2025-03-26 18:45:06 +00:00
Iramis Valentin 2232b81ccd
Merge pull request #37 from moio/developing_md
DEVELOPING: add architectural notes
2025-03-26 14:31:45 -04:00
Iramis Valentin 15b51dd93c
Merge branch 'main' into developing_md 2025-03-26 14:25:28 -04:00
Iramis Valentin 6e4e1f8bda
add k6_with_env.sh for more easily running a given k6 script with a given .env 2025-02-21 21:11:46 +00:00
Iramis Valentin 991906603f
WIP lastused tokens test 2025-02-21 21:11:46 +00:00
Iramis Valentin d614599a49
refactor various utils, add new users-specific utils 2025-02-21 21:11:46 +00:00
Iramis Valentin 36a1f4e676
fixes to downstream cluster templates parsing, tf version check, rke2 output 2025-02-21 21:11:46 +00:00
Silvio Moioli b22da62814
whitespace fixes 2025-02-17 10:36:13 +01:00
Silvio Moioli 52b0886f3f
Merge pull request #41 from rancher/k3d-network-fix 2025-02-04 12:09:52 +01:00
Alejandro Ruiz 3f7ed00446 Fix networking problems after upgrading K3D 2025-02-04 11:37:17 +01:00
Silvio Moioli ea17d53145
Merge pull request #40 from rancher/upgrade-k3d-provider 2025-01-31 12:14:37 +01:00
Alejandro Ruiz 31829d8773 Upgrade terraform-provider-k3d to support newer versions of k3s 2025-01-31 12:10:51 +01:00
Silvio Moioli 27cf672359
bugfix: k3d: fix outputs to correct values to unbreak dartboard load
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-01-28 09:32:26 +01:00
Silvio Moioli 79e3ec9d1a
improve log line with copypastable command
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-01-28 09:31:42 +01:00
Silvio Moioli 3eb7d2508e
docs: fix broken links
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-01-24 12:48:28 +01:00
Silvio Moioli 52126f1521
DEVELOPING: add architectural notes
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-01-24 12:37:06 +01:00
Silvio Moioli 4844f25dad
Merge pull request #39 from git-ival/byo-aws-vpc 2025-01-23 09:46:54 +01:00
Iramis Valentin c033f3a3db
add setup required for BYO VPC, remove dead commented code 2025-01-22 18:29:13 +00:00
Iramis Valentin e8422c2e83
add type hints to variables to ensure opentofu parses them as the intended types 2025-01-22 18:13:46 +00:00
Silvio Moioli c3ab7655b8
Merge pull request #38 from rancher/fix-image-import 2025-01-22 10:07:03 +01:00
Iramis Valentin dca6a122d3
enable byo vpc functionality 2025-01-22 07:33:15 +00:00
Iramis Valentin 5608fcc69a
update .gitignore 2025-01-22 07:32:34 +00:00
Alejandro Ruiz f6b58e5c86 Use correct cluster name when importing images into k3d 2025-01-21 16:27:23 +01:00
Silvio Moioli 3671b01b44
DEVELOPING: add architectural notes
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-01-21 14:43:51 +01:00
Silvio Moioli e6156ad134
Merge pull request #36 from rancher/arbitrary-values 2025-01-21 11:33:45 +01:00
Alejandro Ruiz d8e1c3dbd7 Rename key to rancher_values 2025-01-20 12:10:46 +01:00
Alejandro Ruiz 696f30021f Add support for specifying arbitrary helm values for installing Rancher 2025-01-17 17:37:08 +01:00
Iramis Valentin 3b34f54993
Merge pull request #33 from moio/fix_waiting_downstream
Bugfix: wait for webhook to be ready downstream as well
2025-01-07 15:20:41 -05:00
Silvio Moioli 73d05eebf2
Merge pull request #32 from moio/generic_modules
Main changes:

- create generic modules for anything that gets deployed onto a VM such as k3s, RKE2, etcd and so on. Any backend that can create VMs can use those modules without any changes
- create a generic module for the whole test setup (upstream + downstream + tester clusters). Any backend can use it by either providing a module to create VMs (on top of which k3s/RKE2 are deployed) or a module to deploy full clusters (eg. AKS, k3d)
  - massively simplify mains by leveraging the above module
- drop the openstack and SSH modules. At the moment we have no concrete use of them. We can bring them back anytime - if needed
- rebase the Azure backend. This now has its own dartfile, so it can be used by dartboard (the executable - before it was basically broken). With the rebase it gets all the goodies of the new dartfile based architecture (eg. downstream templates) and the new generic modules functionality too
- rebase the k3d backend. With the rebase it gets all the goodies of the new dartfile based architecture
- rename things aggressively around a few concepts

node: a Linux VM we can SSH into
cluster: a Kubernetes cluster - optionally made up of nodes
network: anything that glues clusters and nodes together (actual networks, firewalls, rules bastion hosts...)
test environment: an upstream cluster, any number of downstream clusters and a downstream cluster in a network
main: substantially a Tofu file creating a test environment
2025-01-07 11:27:54 +01:00
Silvio Moioli ebec690fd7
aws: enlarge bastion host size
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-20 08:34:30 +01:00
Silvio Moioli 3627b70587
fix aws default dart
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-19 20:13:31 +01:00
Silvio Moioli 4386e6de8e
refactoring: renaming: remove the concept of backend from jargon
Use "variables" and "config" instead

Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-19 16:25:06 +01:00
Silvio Moioli b1abb20d52
refactoring: rename 'backend' to 'node_module'
That's what it really is.

Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-19 15:38:57 +01:00
Silvio Moioli 0594557d3e
restore the possibility of deploying just one upstream cluster
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-19 15:37:03 +01:00
Silvio Moioli a502ab4d9d
Bugfix: wait for webhook to be ready downstream as well
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-19 12:53:19 +01:00
Silvio Moioli 003251b482
bugfix: missing variable passing
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-19 12:51:48 +01:00