Commit Graph

103 Commits

Author SHA1 Message Date
Danil-Grigorev 703c8526c7
Exclude machines from node volume detach after completion
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 13:02:14 +01:00
Danil-Grigorev bf53fe2548
Update LB templates to use new structure
- Breakind change: https://github.com/kubernetes-sigs/cluster-api/pull/11430

Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 13:02:12 +01:00
Danil-Grigorev e05a5e7ca2
Update e2e-config.yaml
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 12:59:40 +01:00
Danil-Grigorev bb2410b647
Use 200 as an expected response from kube-api in haproxy
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-19 17:53:19 +01:00
Alexandr Demicev 66f273987a
Prepare main branch for v0.9 development
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2024-11-28 11:16:44 +01:00
Furkat Gofurov 9f64e021a8
use different k8s version
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-11-12 14:19:24 +02:00
Furkat Gofurov 253afe3b28
Use Apply instead of CreateUpdate in e2e
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-11-12 14:19:24 +02:00
Furkat Gofurov 8e6f9ac9d4
Fix linter warnings
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-11-12 14:19:24 +02:00
Furkat Gofurov 8219e8de82
Bump CAPI to v1.8.5
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-11-12 14:19:22 +02:00
Furkat Gofurov 8784520a12
Prepare main branch for v0.9 development
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-11-04 17:06:15 +02:00
Furkat Gofurov 0a4611ad40
Prepare main branch for v0.8 development
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-09-24 10:45:11 +03:00
Danil-Grigorev 679d205149
Implement etcd member management in pre-terminate hook
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-09-16 11:02:51 +02:00
Danil-Grigorev 4578c2377c
Fix: E2E failures in CI
Removed:
- Metrics and pod logs collection. Crust gather collects logs for all
  resources.

Fixed:
- MachineDeployment checks for running machines. MachineSets are picked
  at random, as they are indistinguishable based on labels, and belong
  to the same MachineDeployment. This causes flakes as old MachineSet is
  expected to scale accordingly, while the new one performed it instead.
- Increased ClusterClass apply timeouts. CAPD webhooks may take longer
  to stand up.

Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-09-13 16:29:42 +02:00
Carlos Salas cd6644bb1f
test: add clusterclass scenario to e2e
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
2024-09-03 11:56:56 +02:00
Furkat Gofurov ade79819fd
Prepare main branch for v0.7 development
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-08-28 16:52:36 +03:00
Danil-Grigorev 137e293141
Update e2e tests to utilize default
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-08-28 08:55:45 +02:00
Furkat Gofurov 731a14d0e5
Prepare main branch for v0.6 development
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-08-27 13:46:30 +03:00
Alexandr Demicev 96f3cfb989
Fix expected version in cluster upgrade check
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2024-08-22 16:43:56 +02:00
Furkat Gofurov bc00f06ef2
Remove legacy tests and related code
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-08-12 20:16:22 +03:00
Furkat Gofurov 7ed376e41e
Revert back legacy e2e tests to its original state
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-08-05 12:47:14 +03:00
Carlos Salas 7165cfc50a
test: update tests to use latest release
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
2024-07-30 10:53:13 +02:00
Furkat Gofurov ece3d2467a
Rename CAPRKE2 org references in the codebase
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-07-11 13:14:48 +03:00
Alexandr Demicev 484765c7f8
Change organisation name in Makefile
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2024-07-10 13:23:55 +02:00
Furkat Gofurov ccc265e283
Bump to latest version in e2e setup
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-07-06 10:58:12 +03:00
Alberto Morgante Medina b3e4e9c35f
fix issue with rke2-install
Signed-off-by: Alberto Morgante Medina <alberto.morgante@suse.com>
2024-07-01 16:28:38 +02:00
Furkat Gofurov 1463df91d4
Bump CAPI to v1.7.2 version
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-06-03 18:04:08 +03:00
Danil Grigorev c1d4c59f06
Update upgrade test to verify scalability of old worker machines on new version
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-05-02 13:50:16 +02:00
Danil Grigorev 86025754c0
Remove kubebuilder defaults to make API GitOps friendly
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-05-02 11:35:27 +02:00
Alexandr Demicev 5d61aceaa7
Use spec.Version field as primarily source
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2024-04-26 15:00:24 +02:00
Furkat Gofurov 957ccdd0c1
Bump CAPI to v1.7.0 minor release
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-04-19 13:50:31 +03:00
Danil Grigorev 5289859fab
Exclude kube-vip
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-12 17:52:54 +02:00
Danil Grigorev 8ef8e2097d
Fix machine discovery in test suite
- Disc pressure fix for kube-vip

Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-12 16:00:17 +02:00
Danil Grigorev 1ad956d035
Add crust-gather collection for e2e run
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-12 13:21:26 +02:00
Danil Grigorev c4b63e27e4
Use kube-vip for e2e tests
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-12 13:21:18 +02:00
Danil Grigorev 9025c940c4
Update licences and fix lint errors
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-12 12:30:48 +02:00
Danil Grigorev a7b3b2fc7e
Add test case for cluster upgrade and scale down to zero for old clusters
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-10 10:37:42 +02:00
Danil Grigorev dc58a8b3e7
Add etcd certificate generation
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-09 08:30:14 +02:00
Danil Grigorev 51bf115a46
Prepare e2e tests to check upgrade from 1 machine and scaling down to 1 CP machine
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-08 21:35:55 +02:00
Furkat Gofurov b4cab6bf77
Bump CAPI in e2e tests
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-03-19 17:22:19 +02:00
Richard Case 7177130637
chore: change the number of control plane nodes
Signed-off-by: Richard Case <richard.case@suse.com>
2024-02-19 09:56:28 +00:00
Furkat Gofurov 1305c0ed50
Fix e2e tests
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-02-13 09:50:38 +02:00
Danil Grigorev dc7c307123
Rename v1alpha2 to v1beta1
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-01-08 13:18:49 +01:00
Danil Grigorev 911a3f10bb
Introduce fuzzy tests for conversion
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-01-08 13:03:27 +01:00
Danil Grigorev c8762be772
Introduce v1alpha2 api version
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-01-08 13:03:26 +01:00
Richard Case f76dff43f3
chore: update to capi v1.6.0
This bumps CAPI to v1.6.0 along with associated depenendies. The
sample templates have also been updated for docker so they are
compatible with v1.6.0, specifically using a custom LB config.

Signed-off-by: Richard Case <richard.case@outlook.com>
2023-12-07 14:32:40 +00:00
Richard Case 3e0fd7200c
fix: bump versions and change template for e2e
Signed-off-by: Richard Case <richard.case@outlook.com>
2023-11-17 14:22:28 +01:00
Alexandr Demicev 055e268a1d
Add e2e test for upgrade
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2023-11-16 13:25:48 +01:00
Danil Grigorev 021c1488c9
Add e2e covering metadata propagation to CP nodes
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2023-10-30 16:49:54 +01:00
Danil Grigorev df0d88e916
Update files with lint fixes
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2023-10-30 16:49:54 +01:00
Danil Grigorev 71354c2218
Add test cases covering metadata propagation
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2023-10-30 16:49:54 +01:00
Richard Case 6c07719274
feat: support different registration methods
This adds support for different ways to register new nodes into the
cluster.

Signed-off-by: Richard Case <richard.case@outlook.com>
2023-06-15 15:33:45 +01:00
Richard Case 875cc1197d
Update e2e_conf.yaml
Increased the timeout for machines being ready
2023-03-29 14:54:19 +01:00
Richard Case 926bea3ce2
feat: initial e2e tests
This adds initial e2e tests for the RKE2 providers. There are still lots
more e2e tests that need to be added.

Signed-off-by: Richard Case <richard.case@outlook.com>
2023-03-27 15:09:15 +01:00