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

Support filtering exported services or other resources #1622

Open
cezar-guimaraes opened this issue Mar 25, 2024 · 0 comments
Open

Support filtering exported services or other resources #1622

cezar-guimaraes opened this issue Mar 25, 2024 · 0 comments

Comments

@cezar-guimaraes
Copy link

Is your feature request related to a problem?

Currently, exporting services from virtual to host can only be toggled on/off. The docs understandably warn against disabling exporting services.

Which solution do you suggest?

Sync configuration should allow using metav1.LabelSelector, in particular MatchExpressions to allow negative expressions (i.e label/export-service NotIn ["false"]

Which alternative solutions exist?

None that I can think of.

Additional context

endpointslice with unexported parent service should probably not be exported as well. This could be checked by the syncer when exporting endpoints or config validation could force the endpoint configuration to match service. (is there a use case where one should be exported but not the other?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants