Merge pull request #2913 from steelecliftonberry/master

Increase fs.inotify.max_user_instances limit. Fixes #2912
This commit is contained in:
Chris Love 2017-07-13 08:16:24 -06:00 committed by GitHub
commit e5420e916d
1 changed files with 7 additions and 0 deletions

View File

@ -96,6 +96,13 @@ func (b *SysctlBuilder) Build(c *fi.ModelBuilderContext) error {
"# Increase size of file handles and inode cache",
"fs.file-max = 2097152",
"",
"# Max number of inotify instances and watches for a user",
"# Since dockerd runs as a single user, the default instances value of 128 per user is too low",
"# e.g. uses of inotify: nginx ingress controller, kubectl logs -f",
"fs.inotify.max_user_instances = 8192",
"fs.inotify.max_user_watches = 524288",
"",
)
}