mirror of https://github.com/kubernetes/kops.git
Increase fs.inotify.max_user_instances limit. Fixes #2912
This commit is contained in:
parent
ec93c35df3
commit
67e4e0f111
|
|
@ -96,6 +96,12 @@ func (b *SysctlBuilder) Build(c *fi.ModelBuilderContext) error {
|
|||
"# Increase size of file handles and inode cache",
|
||||
"fs.file-max = 2097152",
|
||||
"",
|
||||
|
||||
"# Max number of inotify watches for a user",
|
||||
"# Since dockerd runs as a single user, the default 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",
|
||||
"",
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue