mirror of https://github.com/kubernetes/kops.git
Merge pull request #2913 from steelecliftonberry/master
Increase fs.inotify.max_user_instances limit. Fixes #2912
This commit is contained in:
commit
e5420e916d
|
|
@ -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",
|
||||
"",
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue