-
Notifications
You must be signed in to change notification settings - Fork 881
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
Set kernel specific config on linux #1789
Conversation
@fcrisciani IMO this belongs in the overlay driver and as @sanimej suggested it can be in one of the |
ok will modify then |
b48ce82
to
a59c4dc
Compare
drivers/overlay/overlay.go
Outdated
@@ -188,6 +188,9 @@ func (d *driver) configure() error { | |||
return d.initializeVxlanIdm() | |||
} | |||
|
|||
// Apply OS specific kernel configs if needed | |||
d.once.Do(applyOStweaks) | |||
|
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.
nit: can you change the once
variable to something specific, maybe osInitOnce
to avoid this getting inadvertently used for some other purpose during the driver init.
LGTM otherwise.
On linux systems bump up gc_thresholds so to lower the probability of running with neighbor table overflow issues Signed-off-by: Flavio Crisciani <[email protected]>
a59c4dc
to
b23cdc3
Compare
Thanks. LGTM |
On linux systems bump up gc_thresholds so to lower the
probability of running with neighbor table overflow issues
Signed-off-by: Flavio Crisciani [email protected]