-
Notifications
You must be signed in to change notification settings - Fork 107
How to aggregate OCM crds in one api #1007
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
Comments
There isn't any official documentation or examples within the Open Cluster Management (OCM) project or its website that directly address aggregating multiple CRDs into a single API using Kube Builder, nor are there existing discussions or issues on this topic. However, based on general Kubernetes and Kube Builder practices, here’s a high-level approach you can take:
References for Implementation: Key Points:
If you need more concrete code examples or have questions about specific parts of the implementation, let me know! To reply, just mention my name @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Hi, thanks for raising this issue.
This is certainly a valid way to use ocm. Regarding to the API, would you like to provide more info including
|
@qiujian16
We’d appreciate your guidance on this approach. |
Uh oh!
There was an error while loading. Please reload this page.
I'm working with the Open Cluster Management Project. It's a powerful tool, but it includes many CRDs, such as ManifestWorkReplicaSet, ManifestWork (in the cluster namespace), PlacementDecision, and ManagedClusterSetBinding.
We're not planning to use this project to manage deployments across clusters. Instead, we see it as a platform control plane component mainly to keep track of clusters and manage tenant configurations, while we handle orchestration ourselves.
I want to create a new custom resource called TenantDeploymentRecord using Kube Builder. This CRD should combine information from all the existing CRDs mentioned above. It should also update automatically whenever any of those CRDs change.
Example snippet
I’d appreciate any feedback or suggestions from the community.
The text was updated successfully, but these errors were encountered: