Commit Graph

21 Commits

Author SHA1 Message Date
b-m-f
876b083ac9
Change extra_node_args to extra_agent_args 2020-07-21 16:50:46 +02:00
b-m-f
e6bee3e17f
Pass through extra arguments to the nodes with extra_node_args group variable 2020-07-21 14:12:20 +02:00
Vincent RABAH
1af4255e8f
Merge pull request #1 from St0rmingBr4in/fix-centos-1
Fix systemd TimeoutStartSec
2020-05-13 09:46:29 +02:00
Jeff Geerling
e47af78bfd Fixes #3: Fix linting issues, add ansible-lint and yamllint configuration. 2020-05-12 16:00:32 -05:00
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
Erik Wilson
3d738d887a Merge pull request #1430 from St0rmingBr4in/fix-home
contrib/ansible: Fix home path and use kubectl to set the server url in conf
2020-02-24 15:24:33 -07:00
Julien DOCHE
d63ae87e02 contrib/ansible: Add extra_server_args variable
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-02-17 21:42:40 +01:00
Julien DOCHE
7f68b7f3cd contrib/ansible: Use kubectl to set the server url in conf
Sometimes https://127.0.0.1:6443 can be written in the conf, the regexp does
not account for that.

Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-02-17 20:55:44 +01:00
Julien DOCHE
ca9702f65b contrib/ansible: Fix home is not necessarily in /home
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-02-17 20:49:01 +01:00
Chris Jowett
01080c2c36 Add RestartSec to ansible systemd unit files 2019-07-26 13:05:54 -05:00
Pieter van der Merwe
b07143780b Createsymlinks for kubectl and crictl 2019-07-13 21:10:33 +02:00
Pieter van der Merwe
4c48500e18 Add wait for node-token file 2019-07-07 17:24:37 +02:00
Marc Tamsky
3341d967be contrib/ansible: Allow master and node roles to co-exist 2019-05-30 01:33:41 -07:00
Erik Wilson
f2bb86e593 Merge pull request #487 from itwars/master
Ansible - fix typo and add kubeconfig copy to user homedir
2019-05-28 17:28:03 -07:00
Vincent RABAH (itwars)
4abaf35601 Fix typo and add kubeconfig copy to user homedir 2019-05-18 17:58:25 +00: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