Julien DOCHE
d250fbd76d
Merge pull request #23 from geerlingguy/22-file-mode-octal
...
Fixes #22 : Set proper file mode using an octal.
2020-05-18 10:27:09 +02:00
Jeff Geerling
70888c8b74
Fixes #22 : Set proper file mode using an octal.
2020-05-16 22:27:08 -05:00
Julien DOCHE
34f525392c
Merge pull request #19 from geerlingguy/16-nocows
...
Fixes #16 : Add nocows = true.
2020-05-15 09:15:46 +02:00
Julien DOCHE
df45f1af2a
Merge pull request #20 from geerlingguy/15-update-default-version
...
Fixes #15 : Update default k3s version.
2020-05-15 09:10:10 +02:00
Jeff Geerling
6a1a7f7acb
Fixes #15 : Update default k3s version.
2020-05-14 21:43:57 -05:00
Jeff Geerling
f21ac4c68a
Fixes #16 : Add nocows = true.
2020-05-14 21:43:02 -05:00
Vincent RABAH
497f16acaf
Merge pull request #2 from St0rmingBr4in/fix-centos-2
...
Add /usr/local/bin to secure_path, Add br_netfilter on centos
2020-05-14 13:48:52 +02:00
Julien DOCHE
12aad6598a
Add /usr/local/bin to secure_path, Add br_netfilter on centos
...
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-05-13 16:20:54 +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
Vincent RABAH
adef938864
Merge pull request #6 from geerlingguy/3-lint
...
Fixes #3 : Fix linting issues, add ansible-lint and yamllint configuration.
2020-05-13 09:44:46 +02:00
Vincent RABAH
ca1a48f426
Merge pull request #14 from 4m3ndy/master
...
fix typo for master_ip
2020-05-13 09:43:59 +02:00
Ahmed Sallam
0052215cf9
fix typo for master_ip
2020-05-12 23:41:24 +02:00
Julien DOCHE
43efd4f999
Merge pull request #12 from geerlingguy/11-license
...
Fixes #11 : Add Apache 2.0 LICENSE file.
2020-05-12 23:19:42 +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
bad25d1ba5
Merge pull request #7 from geerlingguy/4-inventory-name
...
Fixes #4 : Use k3s_cluster (no dashes) for inventory name.
2020-05-12 22:58:41 +02:00
Julien DOCHE
3bee6136fc
Merge pull request #8 from geerlingguy/5-reboot-module
...
Fixes #5 : Use Ansible's reboot module instead of reboot command.
2020-05-12 22:53:41 +02:00
Julien DOCHE
fdcc3aca5b
Merge pull request #10 from geerlingguy/9-iptables-rhel
...
Fixes #9 : Make sure both iptables and ip6tables are configured correctly.
2020-05-12 22:52:15 +02:00
Jeff Geerling
4d24f5915d
Fixes #11 : Add Apache 2.0 LICENSE file.
2020-05-12 15:29:41 -05:00
Jeff Geerling
de1e73843a
Fixes #9 : Make sure both iptables and ip6tables are configured correctly.
2020-05-12 15:25:01 -05:00
Jeff Geerling
51407213ef
Fixes #5 : Use Ansible's reboot module instead of reboot command.
2020-05-12 15:22:32 -05:00
Jeff Geerling
7cb619feaf
Fixes #4 : Use k3s_cluster (no dashes) for inventory name.
2020-05-12 15:21:00 -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
Craig Jellick
62914a0cfc
Merge pull request #1735 from stellirin/performance
...
[systemd] Add value to LimitNOFILE due to performance problems
2020-05-06 16:37:37 -07:00
David Nuzik
bbfcb385e7
Merge pull request #1730 from geerlingguy/1729-ansible-changed
...
Fixes #1729 : Use 'is changed' instead of non-existent changed filter.
2020-05-04 09:36:38 -07: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
Jeff Geerling
2c4e2de635
Fix typo in Ansible README file scp command.
2020-05-01 23:02:08 -05:00
Jeff Geerling
33686cadae
Fixes #1729 : Use 'is changed' instead of non-existent changed filter.
2020-05-01 22:42:42 -05:00
Julien DOCHE
62a50429ca
contrib/ansible: Add reset role and playbook to reset a node ( #1565 )
...
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-03-25 12:36:28 -07:00
Joakim Roubert
0a0d265c0e
Fix markdown files according to markdownlint recommendations
...
There are some issues and quirks in the markdown documentation files
suggested by the markdownlint project checker that might benefit from
being fixed, which this patch does.
Change-Id: I33245825e5bb543b5ce1732204984d4a0b169668
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-03-04 11:06:55 +01: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
Julien DOCHE
e60b4f39e7
contrib/ansible: Move example inventory to its own subdirectory
...
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-02-16 21:08:42 +01:00
James Harrington
ed56b606b8
Fix indentation
2019-10-27 23:34:34 -04:00
Matthias Riegler
2b10d43fa1
CentOS/RHEL compatibility for Ansible roles
...
- Setting IPv4 & IPv6 forwarding
- Setting `sysctl:net.bridge.bridge-nf-call-iptables` and `bridge-nf-call-ip6tables` to enabled since it is disabled by default on some CentOS systems
2019-09-29 00:19:18 +02:00
Erik Wilson
830a191af9
Update k3s v0.8.0 to v0.8.1
2019-08-20 17:32:49 -07:00
Erik Wilson
1d8dd05b18
Update v0.7.0 to v0.8.0
2019-08-05 15:11:49 -07:00
Erik Wilson
1e86f7f1fa
Merge pull request #662 from cryptk/systemd-delay
...
Add a little extra delay between restart attempts
2019-07-27 07:57:45 -07:00
Chris Jowett
01080c2c36
Add RestartSec to ansible systemd unit files
2019-07-26 13:05:54 -05:00
Thorsten Schifferdecker
72958f9688
bump k3s versions to v0.7.0
2019-07-23 23:38:15 +02: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
Ted Wexler
6655ecbcef
Fix an inconsistency in contrib/ansible/README.md
...
The example inventory uses the group `kube-cluster`, but the playbooks references `k3s-cluster`. This resolves the inconsistency.
2019-06-24 19:24:47 -04:00
Thorsten Schifferdecker
4fe3571229
update to v0.6.1
2019-06-24 07:09:47 +02:00
Erik Wilson
733864fbea
Update 0.5.0 to 0.6.0
2019-06-18 18:04:01 -07:00
Erik Wilson
023bd5693d
Merge pull request #513 from tamsky/ansible/improve-raspbian-checks
...
Ansible: Test for Raspbian before assuming
2019-06-18 10:58:46 -07:00
Erik Wilson
93ff44356b
Merge pull request #514 from tamsky/ansible/support-master+node
...
contrib/ansible: Allow 'server' and 'node' roles to co-exist on a single host
2019-06-18 10:58:21 -07:00