Xan Manning
e7c714424c
Tiidy up and refactoring of tasks ( #80 )
...
* Tidy up and refactoring of tasks
- `k3s_config_dir` derived from `k3s_config_file`, reused throughout the role
to allow for easy removal of "Rancher" references #73 .
- `k3s_token_location` has moved to be in `k3s_config_dir`.
- Tasks for creating directories now looped to caputure configuration from
`k3s_server` and `k3s_agent` and ensure directories exist before k3s
starts, see #75 .
- Server token collected directly from token file, not symlinked file
(node-token).
- `k3s_runtime_config` defined in `vars/` for validation and overwritten in
tasks for control plane and workers.
- Removed unused references to GitHub API.
* set_fact now uses FQCN
* re-pin molecule<3.2
* Command module now uses FQCN
* Added package checks for #72
* Reorder task files
- Docker tasks moved into a separate directory for ease of removal #67
- Bugfix: Control plane on alternate port didn't work.
- Validation tasks grouped
* Fix Fedora tests
* Add optional documentation links to validations steps #76
* Removed jmespath requirement
* Fix issue with data collection
* Release candidate
2020-12-21 19:14:52 +00:00
Xan Manning
01a8313dd9
Documentation fixes
...
- Removed Disclaimer
- Fixed a Typo
- Removing references to Rancher
- Removing references to Docker
2020-12-19 11:26:08 +00:00
Xan Manning
e25edbef3c
rework documentation, change github link, replace deprecated variables
2020-12-16 11:02:15 +00:00
Xan Manning
1d40c4d2c9
Migration from Travis-CI to GitHub Actions
2020-12-12 16:21:17 +00:00
Xan Manning
34e2af3d47
Set embedded Etcd as stable, deprecate docker
2020-12-12 14:27:59 +00:00
Xan Manning
5d3524d729
Fix link to documentation
2020-12-05 22:01:43 +00:00
Xan Manning
4afc2c8a5a
Fixed data-dir configuration and draining of nodes. Added documentation.
2020-12-05 21:56:28 +00:00
Xan Manning
fa73be4921
Fixed a number of typos in the README.md
2020-11-30 08:41:56 +00:00
Xan Manning
ebf32dbd99
v2 pre-release
2020-11-29 20:10:42 +00:00
Xan Manning
a99087c7f6
Remove "master" from README.md
2020-11-10 18:30:38 +00:00
Xan Manning
170bf5995f
Merge conflict resolved: archlinux support
2020-10-23 16:40:35 +01:00
Martin Friedrich
e5133c1f73
add archlinux support, fixed drain invoked on uninstall by adding --delete-local-data
2020-10-23 14:43:58 +02:00
Xan Manning
45a41f895b
Restructure for validation checks
2020-10-17 18:27:52 +01:00
Xan Manning
9a15d8eddf
Merge pull request #55 from onedr0p/patch-3
...
Implement setting multiple k3s_tls_san
2020-09-26 17:37:11 +01:00
Xan Manning
062c459b00
Merge pull request #54 from onedr0p/patch-2
...
Implement option to disable kube-proxy
2020-09-26 17:36:50 +01:00
ᗪєνιη ᗷυнʟ
f39f228f39
k3s_tls_san readme changes
...
this can be a list and iterated over in the systemd service
2020-09-24 10:16:12 -04:00
ᗪєνιη ᗷυнʟ
2bb556f1da
add k3s_disable_kube_proxy to readme
2020-09-24 08:38:03 -04:00
ᗪєνιη ᗷυнʟ
d4c38f59cc
fix extra spaces
2020-09-23 10:48:20 -04:00
ᗪєνιη ᗷυнʟ
b06d1635f1
fix english
2020-09-23 10:03:09 -04:00
ᗪєνιη ᗷυнʟ
647d6026e4
move commit example a few newlines down
2020-09-23 09:59:42 -04:00
ᗪєνιη ᗷυнʟ
7dd8a3f8ff
add example for specific version
2020-09-23 09:55:44 -04:00
ᗪєνιη ᗷυнʟ
ddfc73586c
add commit example to k3s_release_version
2020-09-23 09:45:51 -04:00
ᗪєνιη ᗷυнʟ
c447fcec39
A number of enhancements for v1.19 release.
...
- Added option to skip validation checks #47
- Add SELinux support in containerd #48
- Added check for Etcd member count #46
- Moved token to a file #50
- Added Etcd snapshot configuration options #49
2020-09-22 20:30:50 +01:00
ᗪєνιη ᗷυнʟ
7ea82ed749
add k3s_debug to readme
2020-09-21 08:31:07 -04:00
Xan Manning
175b90ecb0
Added support for Etcd, removed DQLite support. See #41
2020-09-17 21:01:20 +01:00
Xan Manning
c743df868b
Fixing ansible-linting, exclude name check for Travis-CI
...
This release also fixes:
- #38 : removing the --disable-agent option. Please use node taints.
- #39 : clarified where jmespath should be installed in README.md
2020-09-15 18:20:23 +01:00
Xan Manning
b412858b30
Fix merge conflict
2020-07-25 20:51:31 +01:00
Xan Manning
d53102dda3
Check mode support added
2020-07-25 17:39:01 +01:00
Xan Manning
809e9cd73c
Releasable feature for hardlinks
2020-07-25 14:03:53 +01:00
Xan Manning
3a6b411430
Added support for args, private registries. Fixes #32
2020-07-04 13:24:10 +01:00
Xan Manning
848a5457ff
Add option for unsupported single node with database backend. Issue #27
2020-05-30 15:16:20 +01:00
Xan Manning
141b6f2018
Numerous bug fixes to do with permissions and regressions.
...
Fix issue #25 , check k3s_bind_address for readiness check
Fix issue #24 , become for tasks that require root
2020-05-20 19:55:33 +01:00
Xan Manning
5ce8dec6ff
Added the ability to set k3s_release_version as a release channel
2020-05-18 20:45:48 +01:00
Xan Manning
aa1a0a9620
Added option to provision multiple standalone k3s
...
Fixes #21
2020-05-16 20:18:20 +01:00
Xan Manning
681cd981ab
Updated README.md to remove compulsory become:true
2020-04-24 12:06:18 +01:00
SimonHeimberg
acedb08a1f
variables to activate become for some steps
2020-04-22 16:42:45 +02:00
Thibault Nélis
9bace4a62f
Fix typo in README: "Racher" -> "Rancher"
2020-04-08 23:58:20 +02:00
Xan Manning
e93b438ee0
Added secrets encryption at rest option
2020-03-28 12:58:58 +00:00
Xan Manning
84bf657f1c
Merge branch 'master' of github.com:carpenike/ansible-role-k3s into carpenike/master
2020-02-27 18:16:49 +00:00
Ryan Holt
3f6ce99369
rephrase option to cloud controller
...
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-02-26 21:17:51 -05:00
Ryan Holt
db96168491
added example for kubelet_args in README
...
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-02-26 21:16:52 -05:00
Ryan Holt
c473f932c4
added kubelet args key
...
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-02-26 18:03:08 -05: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
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
f82f90aae0
Clearer licensing, included LICENSE.txt
2020-02-22 12:34:35 +00:00
Xan Manning
1f19e2b302
Updated flannel backend flag checks
2020-02-09 16:03:41 +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