Xan Manning
56b2d7bc03
Fixed path in k3s-uninstall.sh - my bad
2020-02-26 21:52:56 +00:00
Xan Manning
75fd17aac8
Slightly updated tasks and added validation checks
...
1. Now does not remove prerequisite packages, lvm2 was included in
these packages (not good when you use LVM2 for real).
2. Added a bit more idempotency to the shell scripts - only delete if
it exists.
3. Check that the process isn't running and binaries are gone.
2020-02-26 20:56:05 +00:00
Devin Buhl
5f7ff27f17
Fix 301 lint issue in uninstall-docker-amazon
2020-02-25 15:42:40 -05:00
Devin Buhl
a1e52fb660
fixed 301 lint issue in uninstall-k3s.yml
2020-02-25 15:41:29 -05:00
Devin Buhl
e7c787e10f
Fix other lint issue
2020-02-25 15:25:23 -05:00
Devin Buhl
8d0ee69012
Fix other yaml lint issue
2020-02-25 15:08:17 -05:00
Devin Buhl
fd7498303d
Fix first YAML lint issue
2020-02-25 15:07:05 -05:00
Devin Buhl
be85c9ccc5
state uninstalled
2020-02-25 12:39:34 -05:00
Devin Buhl
9bbf5fd746
add uninstall state
2020-02-25 12:29:39 -05:00
Devin Buhl
c4547306ce
add option to specify local storage path ( #10 )
2020-02-25 08:48:09 +00:00
Xan Manning
31debb2f5d
Fix Travis-CI build
2020-02-22 14:33:12 +00:00
Xan Manning
f82f90aae0
Clearer licensing, included LICENSE.txt
2020-02-22 12:34:35 +00:00
Xan Manning
5517671477
Merge pull request #9 from PyratLabs/feature_better_checksum
...
Feature better checksum
2020-02-10 20:42:10 +00:00
Xan Manning
1f19e2b302
Updated flannel backend flag checks
2020-02-09 16:03:41 +00:00
Xan Manning
218b9d64c9
Slightly more robust selection of checksum from GitHub
2020-02-09 15:00:59 +00:00
Xan Manning
3da7599eab
Merge pull request #8 from jdmarble/master
...
Use correct checksums for arm downloads
2020-02-01 12:51:23 +00:00
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
04a92ee956
Reducing the number of tests in travis-ci for faster jobs
2020-01-19 16:49:21 +00:00
Xan Manning
927fd41036
Fixed dockerfile for high availability loadbalancer using HAProxy
2020-01-18 00:17:23 +00:00
Xan Manning
df253b504a
Merge pull request #6 from PyratLabs/multi_master_support
...
Auto-deploy templates, HA support now possible.
2020-01-13 22:07:52 +00:00
Xan Manning
c5b6dcd7fa
Fixed control nodes to match nginx template in test
2020-01-13 21:57:45 +00:00
Xan Manning
e3ce213bc0
Testing auto-deploy on multi-master
2020-01-13 21:32:31 +00:00
Xan Manning
c8fb27ecd1
Merge pull request #5 from nolte/feature/add_manifests
...
Add Support for Auto-Deploying Manifests
2020-01-13 19:09:57 +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
7e7cf2b97d
Moved HA testing to a new scenario
2020-01-12 12:50:03 +00:00
nolte
5331e22425
fix path, missing prefix
2020-01-11 23:51:52 +01: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
2d0dc8db69
Update molecule/default/templates/00-ns-monitoring.yml.j2
...
Co-Authored-By: Xan Manning <xan.manning@gmail.com>
2020-01-11 20:04:26 +01:00
nolte
a73a1fbdef
Update molecule/default/playbook-auto-deploying-manifests.yml
...
Co-Authored-By: Xan Manning <xan.manning@gmail.com>
2020-01-11 20:04:11 +01: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
227b24c117
Update defaults/main.yml
...
Co-Authored-By: Xan Manning <xan.manning@gmail.com>
2020-01-11 20:03:16 +01:00
nolte
1dd9297de4
change template path for molecule test
2020-01-11 19:39:11 +01:00
nolte
cb13c5b473
create manifests directory if not exists
2020-01-11 18:56:48 +01:00
nolte
2aedce0359
add first draft for running molecule test with auto manifests deployments
2020-01-11 18:03:47 +01:00
nolte
b89f2f3acd
remove trailing spaces
2020-01-11 15:58:58 +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
fe688dfc70
Changed workflow to include state (allows for build and operate
...
workflows)
2019-12-21 10:34:33 +00:00
Xan Manning
717de81c7f
Build-operate workflow trial - allow for stop-starting cluster.
2019-12-20 19:41:20 +00:00
Xan Manning
e8e5dbf45a
Merge pull request #4 from quulah/fix-sha256sum-parsing
...
Parse checksum without shell usage
2019-12-11 14:47:10 +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