Skip to content

I am curious about the role of informer in each module of Kubernetes scheduler. #705

Closed Answered by Huang-Wei
kschoi93 asked this question in Q&A
Discussion options

You must be logged in to vote

I assume by "controller", you meant the controllers placed in https://github.com/kubernetes-sigs/scheduler-plugins/tree/master/pkg/controllers. If so, those controllers are merely reflecting the latest status of the CR objects that some scheduler plugin interacts with. The controller should be only updating the .status portion of the CR objects, and it should be independent with scheduler plugins' logic and scheduling decision.

In short, you can treat "controllers" (in the context of scheduler plugins) as facilitating components for better user experience. And scheduler plugin can live w/o the controllers.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kschoi93
Comment options

Answer selected by kschoi93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants