forked from kubernetes-sigs/kind
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20a87a6
commit c339e13
Showing
4 changed files
with
47 additions
and
22 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# derived containerd systemd service file from the official: | ||
# https://github.com/containerd/containerd/blob/master/containerd.service | ||
[Unit] | ||
Description=containerd container runtime | ||
Documentation=https://containerd.io | ||
After=network.target | ||
# disable rate limiting | ||
StartLimitIntervalSec=0 | ||
|
||
[Service] | ||
ExecStartPre=-/sbin/modprobe overlay | ||
ExecStart=/usr/local/bin/containerd | ||
Restart=always | ||
RestartSec=1 | ||
|
||
Delegate=yes | ||
KillMode=process | ||
Restart=always | ||
# Having non-zero Limit*s causes performance problems due to accounting overhead | ||
# in the kernel. We recommend using cgroups to do container-local accounting. | ||
LimitNPROC=infinity | ||
LimitCORE=infinity | ||
LimitNOFILE=1048576 | ||
# Comment TasksMax if your systemd version does not supports it. | ||
# Only systemd 226 and above support this version. | ||
TasksMax=infinity | ||
|
||
[Install] | ||
WantedBy=multi-user.target |