Repository navigation
cmd/k8s-operator: fix reconcile filters - #9533
Merged
Merged
Conversation
irbekrm
force-pushed
the
irbekrm/reconciles
branch
3 times, most recently
from
September 25, 2023 17:16
7436de3 to
d33920d
Compare
maisem
reviewed
Sep 25, 2023
irbekrm
force-pushed
the
irbekrm/reconciles
branch
from
September 25, 2023 18:48
d33920d to
779fb08
Compare
Contributor
Author
|
Thanks for taking a look @maisem I've now refactored it |
maisem
reviewed
Sep 25, 2023
irbekrm
force-pushed
the
irbekrm/reconciles
branch
from
September 25, 2023 19:01
779fb08 to
366f13d
Compare
Ensure that when there is an event on a Tailscale managed Ingress or Service child resource, the right parent type gets reconciled Updates #502 Signed-off-by: Irbe Krumina <[email protected]>
irbekrm
force-pushed
the
irbekrm/reconciles
branch
from
September 25, 2023 19:02
366f13d to
c26e56a
Compare
maisem
approved these changes
Sep 25, 2023
alexelisenko
pushed a commit
to Control-D-Inc/tailscale
that referenced
this pull request
Feb 15, 2024
Ensure that when there is an event on a Tailscale managed Ingress or Service child resource, the right parent type gets reconciled Updates tailscale#502 Signed-off-by: Irbe Krumina <[email protected]> Signed-off-by: Alex Paguis <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At the moment service and ingress reconcilers use the same filter to reconcile parent
Service/parentIngresswhen there is an event on a child resource. That means that if there is an event on parentServices child resource, ingress-reconciler will also get triggered and look for anIngresswith a matching name and vice versa- this means some wasted CPU cycles and confusing log messages for users.Thsi PR fixes the reconcile filters to prevent that.
Updates #502