-
Notifications
You must be signed in to change notification settings - Fork 407
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
[yurthub]improve list/watch node pool resource in serviceTopology filter. #421
Comments
I want to do some things of this, can you assign to me ? |
/assign @neo502721 |
hi@rambohe-ch, I am trying add TweakListOptions to the Openyurt SharedInformer. But the LabelSelector confulse me. Is the edge nodepool's lable is "default-edge-nodepool=true"? |
@neo502721 you can add an new parameter for defining nodePool name in yurthub. if nodePool name is set by user, we can add the nodePool name with node labels "apps.openyurt.io/nodepool" in TweakListOptions. and if nodePool name is not set, we can keep the current SharedInformer for all nodePools. node labels for nodePool, you can reference code here: https://github.com/openyurtio/openyurt/blob/master/pkg/yurthub/filter/servicetopology/handler.go#L167 |
@neo502721 How about define the new parameter name of yurthub is |
Do you means add a new parameter named |
Only add |
@neo502721 LabelSelector can be set as |
Hi @rambohe-ch, I study the nodepool carefully. And found the nodepopl's type is defiene by the |
@neo502721 Thank you for your feedback.
|
What would you like to be added:
Improve list/watch node pool resource, only list/watch the node pool instance which the edge node belongs to.
Why is this needed:
In order to reduce the network traffic between cloud and edge.
others
/kind feature
The text was updated successfully, but these errors were encountered: