Skip to content

Commit 048baee

Browse files
committed
remove overrides to allow increasing limits to infinity
1 parent 59d4c9c commit 048baee

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scripts/pre-kubeadminit.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,6 @@ if ! mkdir -p /etc/systemd/system.conf.d ; then
7171
fi
7272
chmod 0755 /etc/systemd/system.conf.d
7373

74-
cat > /etc/systemd/system.conf.d/override.conf << EOF
75-
[Manager]
76-
# Set sane defaults for the NOFILE limits to support high-performance workloads:
77-
# - Soft limit (1048576): Allows scaling for high-demand scenarios.
78-
# - Hard limit (1048576): Allows scaling for high-demand scenarios.
79-
DefaultLimitNOFILE=1048576:1048576
80-
EOF
81-
8274
# containerd service
8375
cat > /usr/lib/systemd/system/containerd.service << EOF
8476
[Unit]

0 commit comments

Comments
 (0)