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

Fix each ds instance listens to events on its node #17

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

maiqueb
Copy link
Collaborator

@maiqueb maiqueb commented Sep 16, 2022

Depends-on: #16

This PR ensures the hostname of the controller pods is the name of the nodes where they are scheduled.

This enables the controller to listen exclusively to events on the node where it is deployed, and thus request delegates from multus for pods scheduled on the node it manages.

@maiqueb maiqueb requested a review from phoracek September 16, 2022 11:38
@maiqueb maiqueb force-pushed the fix-each-ds-instance-listens-to-events-on-its-node branch from 2510eef to af6ebed Compare September 16, 2022 11:43
@maiqueb maiqueb force-pushed the fix-each-ds-instance-listens-to-events-on-its-node branch from af6ebed to 5a48d5a Compare September 16, 2022 12:20
With this environment variable, the controllers are able to only watch
events for pods scheduled on their node.

Signed-off-by: Miguel Duarte Barroso <[email protected]>
@maiqueb maiqueb force-pushed the fix-each-ds-instance-listens-to-events-on-its-node branch from 5a48d5a to 21c561e Compare September 16, 2022 12:28
@maiqueb maiqueb merged commit d207deb into main Sep 16, 2022
@maiqueb maiqueb deleted the fix-each-ds-instance-listens-to-events-on-its-node branch September 16, 2022 13:03
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

Successfully merging this pull request may close these issues.

2 participants