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

POC - Update the HNS plugin to read from the CNI state file #1399

Open
BeegiiK opened this issue Feb 28, 2025 · 0 comments
Open

POC - Update the HNS plugin to read from the CNI state file #1399

BeegiiK opened this issue Feb 28, 2025 · 0 comments
Assignees

Comments

@BeegiiK
Copy link
Contributor

BeegiiK commented Feb 28, 2025

Is your feature request related to a problem? Please describe.
The HNS plugin only works with reading from the Kubernetes cache and correlating that information to the HNS service to gather networking information. In the case of operating outside of Kubernetes, we can read the pod name, namespace and its IP address from the CNI state file which is

Describe the solution you'd like
In the case of operating outside of Kubernetes, we can read the pod name, namespace and its IP address from the CNI state file which is defined in a well known location. We can read from this file and update the metric labels accordingly and gather the networking details by running the HNS and vfpctrl commands like we already do

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

1 participant