mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +00:00
Update open file limit for etcd
etcd was constantly restarting with too many open files until I gave it more room on Ubuntu 14.04 https://gist.github.com/darron/2aadb8f30f3dd6f580bf This is a more sensible default - but it may not be enough depending on how many minion nodes there are.
This commit is contained in:
parent
00192ee944
commit
d0e1781d2b
@ -7,6 +7,9 @@ start on (net-device-up
|
||||
|
||||
respawn
|
||||
|
||||
# set max open files
|
||||
limit nofile 2048 4096
|
||||
|
||||
pre-start script
|
||||
# see also https://github.com/jainvipin/kubernetes-ubuntu-start
|
||||
ETCD=/opt/bin/$UPSTART_JOB
|
||||
|
Loading…
Reference in New Issue
Block a user