Merge pull request #5681 from justinsb/ulimit_kubeproxy

Raise the file ulimit for kube-proxy for init.d systems
This commit is contained in:
Victor Marmol 2015-03-19 19:06:36 -07:00
commit a8f2cee8c5

View File

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