From d0e1781d2b21c0ee48601d4da444bc14974b2700 Mon Sep 17 00:00:00 2001 From: darron froese Date: Sat, 12 Sep 2015 15:44:47 -0600 Subject: [PATCH] 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. --- cluster/ubuntu/master/init_conf/etcd.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cluster/ubuntu/master/init_conf/etcd.conf b/cluster/ubuntu/master/init_conf/etcd.conf index a1caaf36165..053253c1b64 100644 --- a/cluster/ubuntu/master/init_conf/etcd.conf +++ b/cluster/ubuntu/master/init_conf/etcd.conf @@ -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