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 ip cache in net-exporter and make hostnetwork pods visible to probes #217

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

jzwlqx
Copy link
Collaborator

@jzwlqx jzwlqx commented Mar 22, 2024

host network pod will not be ignored now.

the old nettop.GetAllEntity returns only non host network pod before, now it returns all pods. for those probes that works only for non host network pod, call nettop.GetAllUniqueNetnsEntity instead to get all non host network pods

In addition, all agents can synchronize ipcache from the controller. ipcache contains the mapping of ip to resources. The agent can obtain the information of all ips based on ipache and append the correct labels to metrics.

@jzwlqx jzwlqx added the enhancement New feature or request label Mar 22, 2024
@BSWANG BSWANG merged commit 8fe253e into alibaba:main Mar 22, 2024
8 checks passed
@jzwlqx jzwlqx deleted the feature/ipcache branch April 7, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants