-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
endpoint: skip Envoy incremental updates if no Envoy redirects #31454
Conversation
@jrajahalme / @sayboras Does this seem reasonable? |
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems safe to do, as the altered function (ApplyPolicyMapChanges()
) is only called from endpointmanager's UpdatePolicyMaps()
, which is called from the FQDN and IPCache code paths.
69eb4f9
to
9777f89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks ✔️
/test |
9777f89
to
cb8459a
Compare
@sayboras @jrajahalme I updated this slightly; we now skip Envoy if there are no redirects or network policy did not change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still lgtm ✔️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, may fix typo in comment if need to respin for something else.
This should significantly reduce the amount of time it takes to roll our incremental policy updates. Signed-off-by: Casey Callendrello <cdc@isovalent.com>
cb8459a
to
b3a998e
Compare
/test |
This should significantly reduce the amount of time it takes to roll our incremental policy updates.
Edit: This PR was reverted and re-factored, see #31775