James D. Marble
044ed5512c
Use correct checksums for arm downloads
...
I attempted to install on arm64 and armhf. Both fail because the
[checksum filter](e07903a5cf/tasks/build/download-k3s.yml (L21)
)
finds the first line with "k3s". On the arm checksum files,
the first lines are for "k3s-airgap-images-arm64.tar" and "k3s-airgap-images-arm.tar"
so the wrong checksum is grabbed.
I attempted to fix this with a more specific filter:
`select('search', 'k3s'+k3s_arch_suffix)`.
This works for both arm architectures,
but fails for amd64 because the key is simply "k3s" and not "k3s-amd64".
The solution I settled on is not ideal for future proofing,
but works for now at least.
2020-01-31 21:10:55 -08:00
Xan Manning
e07903a5cf
Fixed issue with SUSE docker installation
2020-01-21 22:33:11 +00:00
Xan Manning
e3ce213bc0
Testing auto-deploy on multi-master
2020-01-13 21:32:31 +00:00
Xan Manning
3ef36b841f
Merge branch 'multi_master_support' into feature/add_manifests
2020-01-13 19:09:45 +00:00
Xan Manning
3a1c7e7b35
Added workflow for Database backed and DQLite HA
2020-01-13 19:08:37 +00:00
Xan Manning
09fc37e6ec
Fixed provisioning of multi-master, need to test LB with k3s_control_node_address
2020-01-11 22:42:29 +00:00
Xan Manning
c3ae2b79eb
Added database container and proved connectivity. Logic needs to be changed for HA.
2020-01-11 19:20:52 +00:00
nolte
b896e90704
Update tasks/build/preconfigure-k3s-auto-deploying-manifests.yml
...
Co-Authored-By: Xan Manning <xan.manning@gmail.com>
2020-01-11 20:03:58 +01:00
nolte
2e03ea2e6f
Update tasks/build/preconfigure-k3s-auto-deploying-manifests.yml
...
Co-Authored-By: Xan Manning <xan.manning@gmail.com>
2020-01-11 20:03:29 +01:00
nolte
cb13c5b473
create manifests directory if not exists
2020-01-11 18:56:48 +01:00
nolte
2b646e4e4f
update task documentation and add new config parameters to the Readme
2020-01-11 15:44:28 +01:00
nolte
2307546be2
add support place k8s manifests to the nodes
2020-01-11 15:10:19 +01:00
Xan Manning
734e49a7e5
Documentation, and validation logic for HA configuration added.
2020-01-11 12:31:23 +00:00
Xan Manning
da427f1518
Added new state "downloaded" - improved getting latest version
2019-12-28 15:50:17 +00:00
Xan Manning
f2a3f75f08
Added some validation steps, fixed issue with checksum, introducing rootless
...
as an option, however this is experimental in both K3s and this role.
2019-12-22 18:54:25 +00:00
Xan Manning
717de81c7f
Build-operate workflow trial - allow for stop-starting cluster.
2019-12-20 19:41:20 +00:00
Miika Kankare
c5cdc745e5
Parse checksum without shell usage
2019-12-11 15:17:05 +02:00
Xan Manning
99c103a14f
Fixed regression with AmazonLinux Docker install, increased coverage of
...
testing Docker installation as Fedora was missing python-dnf dependency.
2019-12-09 19:46:25 +00:00
Xan Manning
ec61e0b4ce
Improved Docker support for SUSE/openSUSE. Notes about control host requirements
2019-12-09 13:53:42 +00:00
Xan Manning
26a3b2eef0
Added extra no-deploy options for v1.0.0
2019-12-04 19:10:05 +00:00
Xan Manning
8f3b2428c8
Added experimental options to ansible role:
...
1. Ability to specify control host address, for connecting to a control plane
provisioned outside of the role.
2. Ability to specify the control host token, again for connecting to
a control plane provisioned outside of the role.
3. Included upstream changes from @nolte to define KubeConfig file
permissions.
2019-12-04 17:17:15 +00:00
Xan Manning
5e39160ed9
Added a number of extra options to configure K3s in systemd unit file.
...
Testing:
- Added docker networking, ensure that test output is verbose.
- Fix build for AmazonLinux 2
- No-deploy flag test added
2019-11-02 22:19:33 +00:00
Xan Manning
efc703541c
Updated for 0.10.0, adding molecule testing with Travis-CI
2019-10-26 22:23:17 +01:00
abdennour
07661f7df8
static import
...
include_tasks is used to import tasks according to a condition that relies on a dynamic value (facts).
2019-05-13 06:54:54 +03:00
Xan Manning
27083e1d5b
Bugfix: Checking of hash fixed for k3s v0.3.0 release
2019-04-06 12:04:09 +01:00
Xan Manning
728dd1ff12
Fixed ansible-lint rule 306, pipefail
2019-03-24 16:02:41 +00:00
Xan Manning
c7119c3033
Bugfix: Issue with non-control-nodes in docker provision
2019-03-10 18:21:39 +00:00
Xan Manning
a6ff65900d
Bugfix variable on Docker install, updated README.md and added LICENSE
2019-03-10 14:53:52 +00:00
Xan Manning
750c72295e
Initial commit and release
2019-03-09 20:54:44 +00:00