Skip to content

Commit 59d4c9c

Browse files
authored
Set higher ulimits
1 parent d83700f commit 59d4c9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/pre-kubeadminit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ chmod 0755 /etc/systemd/system.conf.d
7474
cat > /etc/systemd/system.conf.d/override.conf << EOF
7575
[Manager]
7676
# Set sane defaults for the NOFILE limits to support high-performance workloads:
77-
# - Soft limit (65535): Suitable for most containerized applications.
77+
# - Soft limit (1048576): Allows scaling for high-demand scenarios.
7878
# - Hard limit (1048576): Allows scaling for high-demand scenarios.
79-
DefaultLimitNOFILE=65535:1048576
79+
DefaultLimitNOFILE=1048576:1048576
8080
EOF
8181

8282
# containerd service

0 commit comments

Comments
 (0)