Skip to content

Introduce "ignored_service_annotations" parameter #1482

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

Closed
wants to merge 1 commit into from

Conversation

sdressler
Copy link

This PR attempts to fix #1478 by introducing a parameter to ignore specific service annotations.

Rationale: on, e.g., Rancher, additional annotations are added to the LB services. They seem to cause a connection drop on service syncs. These annotations are added again after removal by the operator, enforcing recurring but unnecessary syncs. A solution to prevent this is to ignore these if they are known.

@hjacobs
Copy link
Contributor

hjacobs commented May 4, 2021

Thanks for the PR! (coming here from https://twitter.com/theDressler/status/1389482796872347648)

@Aisuko
Copy link
Contributor

Aisuko commented May 21, 2021

We have the same issue here what you said some like random cut connections and sync service due to custom service annotations and thanks for the PR. It's looking good and clean, we will try and do feedback if it is necessary, and help this PR to merge.

@sdressler
Copy link
Author

Hi @Aisuko, thanks for the feedback; very much appreciated. It seems #1485 makes it into 1.7. Hence this PR will then be obsolete unless you see value in having an explicit distinction between ignored service annotations and ignored "global" annotations.

@Aisuko
Copy link
Contributor

Aisuko commented May 23, 2021

Hi @sdressler , thanks for mention this.

@FxKu
Copy link
Member

FxKu commented Mar 24, 2022

Finally, we merged this feature with #1823. Thanks again @sdressler for your first approach.

@FxKu FxKu added this to the 1.8 milestone Mar 25, 2022
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.

Ignore service annotations
4 participants