-
Notifications
You must be signed in to change notification settings - Fork 12
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 annotations for configuring which devices cilium use for routing #728
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff, did a first pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Thanks a lot @berkayoz! Left a minor comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @berkayoz! LGTM. Just some minor nit comments.
c2a89cf
to
d75ac08
Compare
Fixes #702
Cilium excludes
bridge
devices while performing auto detection and suggests providing the selection filtermanually through thedevices
flag if auto detection is not suitable.This PR adds the
k8sd/v1alpha1/cilium/devices
andk8sd/v1alpha1/cilium/direct-routing-device
annotations to let users configure which devices(interfaces) can be used by cilium.Initially we aimed to override this auto detection and select the device based on the node internal ip however the device names could be different on multiple machines which breaks this assumption. As an alternative we could set the
devices
field with a certain default value with wildcard filters to cover common interface names, e.g.eth+ lxdbr+ enp+
.