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

Add configuration that allows identification of Pods by L2 infomration #214

Open
eranra opened this issue Jun 1, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@eranra
Copy link
Collaborator

eranra commented Jun 1, 2022

We want to make it possible to use L2 information ( MAC addresses) to identify pods and not just L3 (what we have today). This requires changing the informer https://github.com/netobserv/flowlogs-pipeline/blob/main/pkg/pipeline/transform/kubernetes/kubernetes.go#L180 so that it can match pods by mac addresses and not just by IPs. This needs to be configurable so that it will be possible to use just IP's, Just MAC addresses or both for the identification.

@amorenoz
Copy link
Contributor

amorenoz commented Jun 20, 2022

Note on some CNIs (e.g: OVN-k8s) packets can be routed so on destination switch the source MAC address will not match the one from the src pod.

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

No branches or pull requests

2 participants