-
Notifications
You must be signed in to change notification settings - Fork 408
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
[Feature Request]About the new field definition of configmap in the filtering framework #773
Comments
@yingjianjian what fields do end users need to configure in the configmap |
In order to improve flexibility, all fields are basically configured. Currently, the fields that need to be defined are user_agent, name, resources, verbs. For the verbs field, I think it can be defined as the default value? I think the configuration of the addons verbs field should be consistent, I don't know if my idea is correct |
@yingjianjian Thanks for your feedback. because we want to use resource name(like endpoints, endpointslices) as filter name. and end user can configure specified user-agent and request to use specified filter. so maybe define the format as following:
so if end users want to configure to filter endpoints and endpointslices response of kube-proxy and coredns list/watch requests. the configuration maybe look as following:
btw: to add yaml configuration in configmap is so complicated, and end user also feel not easy to use i think. |
Is it easy to configure errors with too much configuration?
|
我对 新的serviceTopologyFilter 的定义本身没有什么异议,但对我来说 * 就足够。 |
@hhstu This new filed is not for cache_agents, a new field is added for configuring filters. |
@yingjianjian Thanks for your reply. because the format of ConfigMap.Data is |
yes i read that wrong that is it possible to show line breaks so that it is a bit more passable? |
Check whether the startup parameter etcd-servers-overrides of kube-apsierver can be in the following format: |
@yingjianjian agree +1, consistent with startup parameter format of kube-apiserver. @zzguang do you have any comments? |
agree +1, it means that one feature can use multi resources filters, and one resource filter can be used by multi features conveniently. |
/assign @yingjianjian |
What would you like to be added:
Regarding the discussion of #749 , I feel that the configmap configuration for the custom filtering framework is more complicated. I want to discuss the field definition through this issue
At present, my thoughts are as follows. If you have any questions, please correct me. Welcome to discuss together.:
Why is this needed:
To customize the filter box
others
/kind feature
The text was updated successfully, but these errors were encountered: