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

Extract design patterns from multicluster-scheduler, a.o. #1

Open
1 of 6 tasks
adrienjt opened this issue May 8, 2019 · 1 comment
Open
1 of 6 tasks

Extract design patterns from multicluster-scheduler, a.o. #1

adrienjt opened this issue May 8, 2019 · 1 comment

Comments

@adrienjt
Copy link
Contributor

adrienjt commented May 8, 2019

Multicluster-scheduler is multicluster-controller's prime application example. It uses patterns that could be generalized and hosted here as library code for re-use by other projects. Here are some of the patterns used by multicluster-scheduler:

  • push/pull observations (snapshots of objects as custom resources)
  • push/pull decisions (specs of objects to be applied in another cluster)
  • cross-cluster garbage collection with finalizers (foreground deletion and orphan)

Other interesting patterns:

  • push/pull copies
  • cross-cluster garbage collection with controllers (add background deletion support)
  • ...
@adrienjt
Copy link
Contributor Author

v0.3.0 introduced the decorator and garbage collection patterns.

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

No branches or pull requests

1 participant