-
Notifications
You must be signed in to change notification settings - Fork 7
feat: fleetconfig-controller for declarative orchestration of OCM multi-clusters
#1
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
feat: fleetconfig-controller for declarative orchestration of OCM multi-clusters
#1
Conversation
6b4d8b8 to
c2546d9
Compare
Signed-off-by: Mike Ng <ming@redhat.com>
fe2568f to
6255b92
Compare
… repo Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
…om/TylerGillson/ocm-labs into feat/fleetconfig-controller
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
fleetconfig-controller for declarative multi-cluster orchestration
fleetconfig-controller for declarative multi-cluster orchestrationfleetconfig-controller for declarative orchestration of OCM multi-clusters
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
|
I had to make a bunch of assumptions around CI for the labs monorepo. I would appreciate input on the At the moment I have assumed that the following secrets will be added to this repository:
The smoke tests are passing for me locally, so hopefully they’ll pass for you too. Heads up that I will be away for all of next week. But I will get on any feedback ASAP once I return on the 30th. |
|
thanks, looks fine in general. I would suggest we remove github action related for now. There will be multiple project in it and we have to figure out a more generic approach with gha |
|
@TylerGillson do you have any recommendation on a generic approach with GitHub Actions? |
|
@mikeshng the approach I've proposed here is a generic approach for handling CI for multiple subprojects. Each project just has to conform to a handful of requirements that I've outlined in the top-level README. From README.md: GitHub ActionsAll projects must follow certain conventions to ensure compatibility with the lab repository's Github Actions workflows. Refer to the Test and E2E workflows for exact details.
|
|
Would you like me to remove the vendor folder temporarily so that the PR can actually be reviewed on the Github UI? I can add it back later on once other feedback is addressed. @mikeshng I'd be happy to set up an in-person meeting to review this PR with yourself and whoever else is interested/required. I've set up the Github workflows to handle the monorepo structure in a reasonably straightforward manner. I'd be happy to replace the bash + jq logic in |
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
…ml (#2) Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
42d67f3 to
fa88b66
Compare
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
…etry if AMW exists (#3) Signed-off-by: Artur Shad Nik <37195151+arturshadnik@users.noreply.github.com>
* chore: bump clusteradm version to v1.0.0 * chore: bump bundleVersion in values.yaml to v1.0.0 * chore: bump OCM_VERSION adn CLUSTERADM_VERSION in .versions.env * chore: make reviewable Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
9812142 to
fecb725
Compare
mikeshng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/assign @qiujian16
|
/approve let's merge this as a good starting point. I'd like @xuezhaojun to also review the project onboarding part, but we can iterate on it later. Thanks for this great work! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16, TylerGillson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
447e56d
into
open-cluster-management-io:main
✨ Unlock the power of GitOps for OCM! ✨
🌱 Project Overview
This PR contributes the
fleetconfig-controllerproject to the OCM community. Thefleetconfig-controllerintroduces a newFleetConfigcustom resource, which the controller orchestrates to manage the lifecycle of OCM multi-clusters. The controller is a lightweight wrapper around clusteradm. Anything you can accomplish imperatively via a series ofclusteradmcommands can now be accomplished declaratively using thefleetconfig-controller.🔧 Installation
The controller is installed via Helm. By default the Helm chart will also produce a
FleetConfigto orchestrate, however that behaviour can be disabled. To get started, check out the smoke tests. Within 10 minutes you can watch thefleetconfig-controllerbootstrap two local kind clusters into an OCM hub and spoke.🏗️ Support Matrix