-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Disabling SourceDestCheck fails on instances with more than one ENI #447
Comments
Just trying to make sure I understand, so the issue here is that Flannel is not disabling the |
@kkirsche yes, that's correct. |
Personally, I think a PR would probably be appreciated though I don't want to speak for the Flannel core team as to the solution itself. I'd just want to double check if you had done or if this was still needed in the current version of flannel It seems as though this says to disable it within AWS, so want to make sure that this has been checked |
That used to be the case, but then I suggested this: #230 I guess there two options here:
Because what's happening now, is flannel is continuously trying to disable SourceDestCheck on an instance it is running and gets AWS API rate limited which affects other services and processes running in the same AWS account, i.e. nothing else can easily talk to AWS API, because how AWS does rate limiting. |
Ah, ok. Sorry about that. Just wanted to make sure. I personally think that flannel should know how to disable Certainly don't want this hitting API Rate Limiting as that can certainly be very problematic |
Flannel fails to disable
SourceDestCheck
on instances with more than one network interface. SourceDestCheck attribute is actually an ENI attribute, but weirdly AWS exposes it as an instance attribute if it only has one network interface.https://github.com/coreos/flannel/blob/6c95ca9086cf7f5fc6e1d415fb23c50aeec34c04/backend/awsvpc/awsvpc.go#L182
I could do a PR to fix that, if people agree? It'd be something similar to this: https://github.com/UKHomeOffice/smilodon/blob/master/aws.go#L260
Another way this could be fixed is, first we check which network interface flannel is going to use and only disable SourceDestCheck on that one.
The text was updated successfully, but these errors were encountered: