Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

How to increasing `fs.inotify.max_user_watches` for GKE Nodes

$
0
0

I'm trying to resolve an Error “ENOSPC: System Limit for Number of File Watchers Reached” issue; which typically is solved by increasing the fs.inotify.max_user_watches value via sysctl on the Host environment.Additionally, I am not sure if part of the issue is related to using "Spot" Nodes.

Unfortunately, all my attempts to set or overwrite this value have failed. Either due to lack of permissions: e.g. /proc/sys/fs/inotify/max_user_watches: Read-only file system

And when trying to configure the GKE Nodes themselves, the linuxConfig.sysctl options does not appear to support fs.inotify.max_user_watches.

Node config: pool.yaml

kubeletConfig: {}linuxConfig: sysctl:   fs.inotify.max_user_watches: '1048576'
~ gcloud container node-pools update POOL_NAME \    --cluster=CLUSTER_NAME \    --system-config-from-file=pool.yamlERROR: (gcloud.container.node-pools.update) ResponseError: code=400, message=Unsupported kernel parameter fs.inotify.max_user_watches.

Any help, specific to GKE, would be greatly appreciated!


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>