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

[feature] Support scheduling resources with CRP without rollout #632

Open
vasudev-bongale opened this issue Dec 11, 2023 · 1 comment
Open
Labels
enhancement New feature or request feature feature work

Comments

@vasudev-bongale
Copy link
Contributor

At LinkedIn we use ClusterResourcePlacement custom resource as the source of truth for the existence of a namespace in member clusters. Other services rely on this information to discover clusters to read/write objects into these namespaces directly into the member clusters.
However there are namespaces that exist both in Hub and the member clusters. For e.g: kube-system. If we were to create a CRP for these namespaces, the objects in the Hub will overwrite the objects in the member cluster.

The CRP currently allows defining a rollout strategy. A way to specify opting out of the rollout but allow scheduling in CRP will serve the ask of having placement information but not propagating the resources.

@vasudev-bongale vasudev-bongale added the bug Something isn't working label Dec 11, 2023
@vasudev-bongale vasudev-bongale changed the title Support scheduling resources with CRP without rollout [feature] Support scheduling resources with CRP without rollout Dec 11, 2023
@zhiying-lin
Copy link
Contributor

@vasudev-bongale could you please describe However there are namespaces that exist both in Hub and the member clusters. For e.g: kube-system. If we were to create a CRP for these namespaces, the objects in the Hub will overwrite the objects in the member cluster. a little bit?

If you don't want the hub cluster overwrites the objects in these namespaces, why not creating a CRP to not select these namespaces? or you can configure the fleet to skip these namespaces by using skipped-propagating-namespaces.

In addition, by default, any reserved namespace ("kube-" or "fleet-") will be skipped. code link

@zhiying-lin zhiying-lin added enhancement New feature or request feature feature work and removed bug Something isn't working labels Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature feature work
Projects
None yet
Development

No branches or pull requests

2 participants