Commit Graph

37 Commits (4370fc14828aed234c5e509e23ee073edb606f55)

Author SHA1 Message Date
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
2020-02-24 15:24:33 -07:00
Julien DOCHE cddcbe7833 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 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>
2020-02-17 20:55:44 +01:00
Julien DOCHE 9c23860ce8 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 fd891d0bd9 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
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.
2020-01-14 14:30:12 -07:00
Erik Wilson 3c945476f6 Revert check-config's "Silence modprobe warnings"
This reverts commit 8edbe30c8c.
2019-11-14 10:56:37 -07:00
Erik Wilson 8edbe30c8c Silence modprobe warnings 2019-11-13 17:39:02 -07:00
Erik Wilson c83ec56cbe Non-fatal warning for check-config modules 2019-11-13 17:08:15 -07:00
Erik Wilson 7b3a2d33d1 Clean up check-config exit code & text 2019-11-13 14:57:58 -07:00
Erik Wilson cc4026e1e2 Search system path for iptables in check-config 2019-11-13 12:21:56 -07:00
Erik Wilson a73f8b1773 Update check-config.sh for k3s 2019-11-13 08:34:24 -07:00
Erik Wilson b0d1ca9c21 Add check-config.sh from moby 2019-11-13 02:16:16 -07:00
James Harrington 8431b0ead0 Fix indentation 2019-10-27 23:34:34 -04:00
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
2019-09-29 00:19:18 +02:00
Erik Wilson 9c99578bd6 Update k3s v0.8.0 to v0.8.1 2019-08-20 17:32:49 -07:00
Erik Wilson 7028320ca3 Update v0.7.0 to v0.8.0 2019-08-05 15:11:49 -07:00
Erik Wilson 23501c08cb
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 612b2c1596 Add RestartSec to ansible systemd unit files 2019-07-26 13:05:54 -05:00
Thorsten Schifferdecker f2654b039f
bump k3s versions to v0.7.0 2019-07-23 23:38:15 +02:00
Pieter van der Merwe db5f6c6e5c Createsymlinks for kubectl and crictl 2019-07-13 21:10:33 +02:00
Pieter van der Merwe 2714ae68f9 Add wait for node-token file 2019-07-07 17:24:37 +02:00
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.
2019-06-24 19:24:47 -04:00
Thorsten Schifferdecker ca4620b6c3 update to v0.6.1 2019-06-24 07:09:47 +02:00
Erik Wilson 4ecbd5c16d Update 0.5.0 to 0.6.0 2019-06-18 18:04:01 -07:00
Erik Wilson 7069d51b5e
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 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
2019-06-18 10:58:21 -07:00
Marc Tamsky 9b77fb35ae contrib/ansible: Fixes usage of 'search' in when statements 2019-05-30 02:05:35 -07:00
Marc Tamsky ab9127378e contrib/ansible: Allow master and node roles to co-exist 2019-05-30 01:33:41 -07:00
Marc Tamsky 0642260b34 Test for Raspbian before assuming 2019-05-30 01:30:31 -07:00
Erik Wilson 9efbeb11e4
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 94da7fae71
Update README.md with author 2019-05-26 16:09:33 +02:00
Vincent RABAH (itwars) 57b57f6066 Fix typo and add kubeconfig copy to user homedir 2019-05-18 17:58:25 +00:00
galal-hussein 8188bc62aa Add Restart=always to systemd unit 2019-05-08 02:54:40 +02:00
Erik Wilson 5cfbbabbb6 Update extraneous k3s versions to v0.5.0 2019-05-06 15:10:14 -07:00
galal-hussein c30c809642 Change systemd unit file target to network-online.target 2019-04-30 01:28:58 +02:00
Vincent RABAH 39e2e45cc2 Ansible provisionning (#217)
Ansible provisionning contrib
2019-04-26 21:10:27 +02:00