Skip to content

What would happen if two applications try to sync the same resource(s)? #3532

Discussion options

You must be logged in to vote

Apparently there's a SharedResourceWarning issued, but the apps would keep taking turns syncing the resource. Once one app succeeds in syncing, another one marks the resource as out of sync and tries to sync it (I have auto sync and self heal enabled). Then it succeeds and the first app tries to sync again, and so on. The source of out of sync is the label app.kubernetes.io/instance. The service that reads the resource seems to be fine, so looks like it's not a huge deal to introduce this duplication, though of course it's better to remove the resource from the second app once it's added to the first one.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrii-korotkov-verkada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant