Furkat Gofurov
a540ed8d60
Add in-place propagation e2e tests
...
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
Co-authored-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-04-18 22:48:41 +03:00
Furkat Gofurov
149e533a93
In-place propagation support for RKE2ControlPlane
...
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-04-18 19:50:31 +03:00
Furkat Gofurov
3070166c64
Expose `NodeVolumeDetachTimeout` and `NodeDeletionTimeout` through RKE2ControlPlaneMachineTemplate
...
Also add webhook logic to allow updates to the new fields
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-04-18 18:04:39 +03:00
Andrea Mazzotti
3ad0b591ae
Bump golangci-lint to v2
...
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-04-08 09:06:01 +02:00
Dharmit Shah
fd4c162ca2
Loop to add RCP labels to machines
2025-04-02 21:35:24 +05:30
Andrea Mazzotti
baaec2c4a8
Deprecate RKE2ControlPlane.Spec.InfrastructureRef and .NodeDrainTimeout
...
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-01-10 14:15:52 +01:00
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
8591e588c6
Skip etcd membership management for legacy annotated clusters
...
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-10-07 13:03:26 +02:00
Danil-Grigorev
ed7e46764f
Ensure last machine removed does not wait for hook
...
When the last machine is in a deleting state, this means that cluster is
removed also. In such scenario, waiting for draining is not feasible,
because it is performes only when node deletion is allowed. Which is
not, due to cluster removal. Cluster API prevents draining with the
"cluster is being deleted" error.
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-09-16 11:02:51 +02:00
Danil-Grigorev
931e7cc55a
Propagate PreTerminateHookCleanupAnnotation on old machines
...
- Lint fixes
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-09-16 11:02:51 +02:00
Danil-Grigorev
eb09be3882
Prevent removing non-drained machine for rke2 case
...
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-09-16 11:02:51 +02: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
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
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
Danil Grigorev
6fc88d9288
Fix linter errors
...
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-08 21:35:56 +02:00
Danil Grigorev
f5d65f1eb9
Add etcd membeship change logic for etcd scale down scenarios
...
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-08 21:35:53 +02:00
Furkat Gofurov
0402c6eeea
Fix lint issues in the codebase
...
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-03-19 17:24:46 +02:00
Furkat Gofurov
26c7cab5af
Required changes after CAPI bump
...
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-03-19 12:46:08 +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
c8762be772
Introduce v1alpha2 api version
...
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-01-08 13:03:26 +01:00
Mohamed Belgaied Hassine
fc445b63b8
fixed linting issues (first pass)
...
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
make generate afte minor fixes to API descriptions
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
fixed some regressions from refactoring
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
changed timeout value for golanci-lint GH action, because it was failing
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-03-10 12:58:16 +00:00
Mohamed Belgaied Hassine
09add13e83
moved cloud-init package to bootstrap/internal and did some cleanup
...
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Revert "code cleanup, removing unnecessary takeovers. removing some references to Kubeadm provider code"
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
change verbosity level
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
updated matching RKE2Config of the machine with new ControlPlane
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
implemented registries.yaml files for workers, cp might be problematic in this impl
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Fixing issues around registries.yaml for control plane nodes
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
implemented manifests feature, still to be tested!
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
small fixes and adding AWS sample
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
small fixes and adding AWS sample
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
testing aws -- not working providerID
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
testing aws -- not working providerID
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Fixing some AWS testing using templates
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Fixed several issues when deploying with AWS external cloud provider
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
implemented NTP configuration
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
implemented review comments
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Fixed typo on registry rewrites and endpoints
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-02-15 17:11:44 +00:00
Mohamed Belgaied
b575a7c0b3
Working multi-controlplane and multi-worker
...
Signed-off-by: Mohamed Belgaied <belgaied2@hotmail.com>
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-01-11 15:50:40 +00:00
Mohamed Belgaied Hassine
0141473d6b
Fixing 1 node initialization
...
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-01-11 15:50:39 +00:00
Mohamed Belgaied Hassine
1cfab9f30a
code cleanup, removing unnecessary takeovers. removing some references to Kubeadm provider code
...
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-01-11 15:50:31 +00:00
Alexandr Demicev
ebf5730295
Use CAPI machine collections library
...
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2022-12-27 11:44:38 +01:00
Alexandr Demicev
a3c13b9c94
Fix license year and add where its missing
...
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2022-11-24 16:52:38 +01:00
Mohamed Belgaied Hassine
85232c3a0e
fixing review feedback and removing references to kubeadm and coredns
...
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2022-11-24 14:38:32 +00:00
Mohamed Belgaied Hassine
0815036d17
Draft Implementation of controlplane provider
...
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2022-11-23 20:34:08 +00:00