mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #6353 from fgrzadkowski/perf
Increase ulimit -n for apiserver.
This commit is contained in:
commit
51ec400d6d
@ -38,6 +38,9 @@ DAEMON_USER=kube-apiserver
|
|||||||
#
|
#
|
||||||
do_start()
|
do_start()
|
||||||
{
|
{
|
||||||
|
# Raise the file descriptor limit - we expect to open a lot of sockets!
|
||||||
|
ulimit -n 65536
|
||||||
|
|
||||||
# Return
|
# Return
|
||||||
# 0 if daemon has been started
|
# 0 if daemon has been started
|
||||||
# 1 if daemon was already running
|
# 1 if daemon was already running
|
||||||
|
Loading…
Reference in New Issue
Block a user