Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨Separate rancher cluster from manager #136

Conversation

Danil-Grigorev
Copy link
Contributor

@Danil-Grigorev Danil-Grigorev commented Sep 20, 2023

kind/feature

What this PR does / why we need it:
This is an implementation for a multi cluster setup using cluster interface from controller-runtime.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@Danil-Grigorev Danil-Grigorev requested a review from a team as a code owner September 20, 2023 10:55
@Danil-Grigorev Danil-Grigorev force-pushed the separate-rancher-cluster-from-manager branch 4 times, most recently from 4c83402 to 65f485e Compare September 21, 2023 11:52
@Danil-Grigorev
Copy link
Contributor Author

This works, but the problem is with integration tests. Envtest client can’t find created resource by the controller during the test run. At the same time kubectl get on this cluster returns the resource. This leaves us to test this functionality with e2e only, and face with networking setup involved in different cluster arrangements and cloud provider specific use cases.

@Danil-Grigorev Danil-Grigorev force-pushed the separate-rancher-cluster-from-manager branch from 65f485e to 738bcd3 Compare September 22, 2023 15:18
@Danil-Grigorev Danil-Grigorev force-pushed the separate-rancher-cluster-from-manager branch 2 times, most recently from a5ff0f9 to f37436e Compare October 9, 2023 12:20
@Danil-Grigorev Danil-Grigorev changed the title [WIP] ✨Separate rancher cluster from manager ✨Separate rancher cluster from manager Oct 9, 2023
@Danil-Grigorev Danil-Grigorev force-pushed the separate-rancher-cluster-from-manager branch 4 times, most recently from 9378211 to ced3c4a Compare October 9, 2023 14:52
- Add tests for 2 cluster CAPI import setup

Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
@Danil-Grigorev Danil-Grigorev force-pushed the separate-rancher-cluster-from-manager branch from ced3c4a to 6bca0d8 Compare October 9, 2023 16:31
@Danil-Grigorev
Copy link
Contributor Author

I’m going to close this for now, as merging this does not seem to be a priority yet, but the approach implemented here is the best shot for multi-cluster scenario support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant