From 60a07e972b1f10bf8835ab0f5a5948a1dcef0068 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Thu, 19 Mar 2015 19:03:10 -0400 Subject: [PATCH] Raise the file ulimit for kube-proxy for init.d systems --- cluster/saltbase/salt/kube-proxy/initd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cluster/saltbase/salt/kube-proxy/initd b/cluster/saltbase/salt/kube-proxy/initd index 75352b5bc0c..4e8f72e1b6b 100644 --- a/cluster/saltbase/salt/kube-proxy/initd +++ b/cluster/saltbase/salt/kube-proxy/initd @@ -40,6 +40,9 @@ DAEMON_USER=root # do_start() { + # Raise the file descriptor limit - we expect to open a lot of sockets! + ulimit -n 65536 + # Return # 0 if daemon has been started # 1 if daemon was already running