feat: Add RKE2 support with out-of-band peering #3139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
HI there!
Long time lurker and Liqo user.
Closes: #1092
Related: #1626, #2925, #3048
Implements full RKE2 (Rancher Kubernetes Engine 2) support for Liqo, addressing the long-standing feature request from issue #1092, specifically for modern RKE2 / Rancher installations.
Fixes #1092
Build & Compilation.
initial testing on macOS Darwin 24.6.0 with Go 1.21+, testing with bare metal RKE2 + DOKS underway.
Binary compilation:
make ctlStatic analysis:
go vet ./pkg/liqoctl/install/rke2/...Static analysis:
go vet ./pkg/utils/foreigncluster/...Unit Tests
(
pkg/utils/foreigncluster/getters_test.go)Integration Tests
liqoctl install --helplists RKE2liqoctl install rke2 --helpshows usageand examples
10.42.0.0/1610.43.0.0/16liqo.io/provider: rke2nftablesMonitor: falseliqoctl install rke2 --only-output-valuesproduces YAML