Craig Jellick
ad4c542ad5
Merge pull request #1735 from stellirin/performance
...
[systemd] Add value to LimitNOFILE due to performance problems
5 years ago
David Nuzik
de48f0c43d
Merge pull request #1730 from geerlingguy/1729-ansible-changed
...
Fixes #1729 : Use 'is changed' instead of non-existent changed filter.
5 years ago
Adam Farden
b4335630b7
[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
5 years ago
Jeff Geerling
3fef74bcb9
Fix typo in Ansible README file scp command.
5 years ago
Jeff Geerling
27215a5ec0
Fixes #1729 : Use 'is changed' instead of non-existent changed filter.
5 years ago
Julien DOCHE
3c98290f0b
contrib/ansible: Add reset role and playbook to reset a node ( #1565 )
...
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
5 years ago
Joakim Roubert
4286ba7163
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>
5 years ago
Arpan Kapoor
d01978147e
Add ExecStartPre to ansible systemd node unit files
5 years ago
Arpan Kapoor
4f57cdd5e0
Add Type and TimeoutStartSec to ansible systemd unit files
5 years ago
Erik Wilson
9a1f9a8a4c
Merge pull request #1430 from St0rmingBr4in/fix-home
...
contrib/ansible: Fix home path and use kubectl to set the server url in conf
5 years ago
Julien DOCHE
cddcbe7833
contrib/ansible: Add extra_server_args variable
...
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
5 years ago
Julien DOCHE
afbef43efd
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>
5 years ago
Julien DOCHE
9c23860ce8
contrib/ansible: Fix home is not necessarily in /home
...
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
5 years ago
Julien DOCHE
fd891d0bd9
contrib/ansible: Move example inventory to its own subdirectory
...
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
5 years ago
Erik Wilson
5b98d10e4b
Warn if NPC can't start rather than fatal error
...
If the ip_set kernel module is not available we should warn
that the network policy controller can not start rather than
cause a fatal error.
Also adds module probing and config checks for ip_set.
5 years ago
Erik Wilson
3c945476f6
Revert check-config's "Silence modprobe warnings"
...
This reverts commit 8edbe30c8c
.
5 years ago
Erik Wilson
8edbe30c8c
Silence modprobe warnings
5 years ago
Erik Wilson
c83ec56cbe
Non-fatal warning for check-config modules
5 years ago
Erik Wilson
7b3a2d33d1
Clean up check-config exit code & text
5 years ago
Erik Wilson
cc4026e1e2
Search system path for iptables in check-config
5 years ago
Erik Wilson
a73f8b1773
Update check-config.sh for k3s
5 years ago
Erik Wilson
b0d1ca9c21
Add check-config.sh from moby
5 years ago
James Harrington
8431b0ead0
Fix indentation
5 years ago
Matthias Riegler
5c870d18da
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
5 years ago
Erik Wilson
9c99578bd6
Update k3s v0.8.0 to v0.8.1
5 years ago
Erik Wilson
7028320ca3
Update v0.7.0 to v0.8.0
5 years ago
Erik Wilson
23501c08cb
Merge pull request #662 from cryptk/systemd-delay
...
Add a little extra delay between restart attempts
5 years ago
Chris Jowett
612b2c1596
Add RestartSec to ansible systemd unit files
5 years ago
Thorsten Schifferdecker
f2654b039f
bump k3s versions to v0.7.0
5 years ago
Pieter van der Merwe
db5f6c6e5c
Createsymlinks for kubectl and crictl
5 years ago
Pieter van der Merwe
2714ae68f9
Add wait for node-token file
5 years ago
Ted Wexler
122b8c36b0
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.
6 years ago
Thorsten Schifferdecker
ca4620b6c3
update to v0.6.1
6 years ago
Erik Wilson
4ecbd5c16d
Update 0.5.0 to 0.6.0
6 years ago
Erik Wilson
7069d51b5e
Merge pull request #513 from tamsky/ansible/improve-raspbian-checks
...
Ansible: Test for Raspbian before assuming
6 years ago
Erik Wilson
73b0e4c3dd
Merge pull request #514 from tamsky/ansible/support-master+node
...
contrib/ansible: Allow 'server' and 'node' roles to co-exist on a single host
6 years ago
Marc Tamsky
9b77fb35ae
contrib/ansible: Fixes usage of 'search' in when statements
6 years ago
Marc Tamsky
ab9127378e
contrib/ansible: Allow master and node roles to co-exist
6 years ago
Marc Tamsky
0642260b34
Test for Raspbian before assuming
6 years ago
Erik Wilson
9efbeb11e4
Merge pull request #487 from itwars/master
...
Ansible - fix typo and add kubeconfig copy to user homedir
6 years ago
Vincent RABAH
94da7fae71
Update README.md with author
6 years ago
Vincent RABAH (itwars)
57b57f6066
Fix typo and add kubeconfig copy to user homedir
6 years ago
galal-hussein
8188bc62aa
Add Restart=always to systemd unit
6 years ago
Erik Wilson
5cfbbabbb6
Update extraneous k3s versions to v0.5.0
6 years ago
galal-hussein
c30c809642
Change systemd unit file target to network-online.target
6 years ago
Vincent RABAH
39e2e45cc2
Ansible provisionning ( #217 )
...
Ansible provisionning contrib
6 years ago