Commit Graph

9 Commits

Author SHA1 Message Date
Julien DOCHE
71dd910ec1 Fix systemd TimeoutStartSec
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-05-12 17:20:53 +02:00
Adam Farden
df10b51c91 [systemd] Add value to LimitNOFILE due to performance problems
When k3s is installed on an OS with default high ulimits, performance
issues can be observed. This was discovered on CoreOS where the default
value is 1073741816. Symptoms include very slow file operations such
as installing a Rook/Ceph cluster will take ~6 hours instead of ~10 minutes.

A google search for 'container LimitNOFILE' will show that most major
projects set this already, including the (unused) containerd systemd unit
found in this repository at /vendor/github.com/containerd/containerd/containerd.service

k3OS is not affected becuasse the default there is already 1048576.

See description in coreos/fedora-coreos-tracker#329
2020-05-03 09:37:00 +02:00
Arpan Kapoor
b1d3202461 Add ExecStartPre to ansible systemd node unit files 2020-03-01 19:32:19 +05:30
Arpan Kapoor
242cfa424c Add Type and TimeoutStartSec to ansible systemd unit files 2020-03-01 19:31:31 +05:30
Chris Jowett
01080c2c36 Add RestartSec to ansible systemd unit files 2019-07-26 13:05:54 -05:00
Marc Tamsky
3341d967be contrib/ansible: Allow master and node roles to co-exist 2019-05-30 01:33:41 -07:00
galal-hussein
285c803a70 Add Restart=always to systemd unit 2019-05-08 02:54:40 +02:00
galal-hussein
5b9e9b5316 Change systemd unit file target to network-online.target 2019-04-30 01:28:58 +02:00
Vincent RABAH
85b01829fb Ansible provisionning (#217)
Ansible provisionning contrib
2019-04-26 21:10:27 +02:00