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:
darron froese 2015-09-12 15:44:47 -06:00
parent 00192ee944
commit d0e1781d2b

View File

@ -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