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(lbaas): Fix lbaas reconciliation #31

Merged
merged 4 commits into from
Feb 6, 2022
Merged

fix(lbaas): Fix lbaas reconciliation #31

merged 4 commits into from
Feb 6, 2022

Conversation

kstiehl
Copy link
Contributor

@kstiehl kstiehl commented Feb 6, 2022

Due to some quirky behaviour of the lbaas module in the engine it is possible to create some resources twices. The loadbalancer deployment will fail but the configuration is stll valid from the engine point of view. This and the event driven nature of a kubernetes application do not go well together and lead to race conditions where resources are created twice.

This problem is "solved" with this PR by adding a SubjectLock. Only one reconiliation per resource is now allowed

@kstiehl kstiehl merged commit a0b8cbc into main Feb 6, 2022
@kstiehl kstiehl deleted the fix/ccm-lbaas-module branch February 6, 2022 23:38
@kstiehl kstiehl added minor indicates that this change introduces a change that increments the minor version bug Something isn't working labels Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor indicates that this change introduces a change that increments the minor version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant