Commit Graph
100 Commits
Author SHA1 Message Date
Devin Buhl afbf097dac feat: update kube-vip ansible playbook for k0s and k3s - ipv6 config changes (#1234)
* feat: update kube-vip ansible playbook for k0s and k3s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update renovate

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: move ipv6 to advanced options

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: kube-vip manifests to partials

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: kube vip samesies

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update config sample

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-22 15:28:21 -05:00
Devin Buhl 9373065338 feat: implement kube-vip for k0s & k3s in daemonset mode (#1230)
* feat: implement kube-vip for k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: implement kube-vip for k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: k3s to ds as well

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: no j2j2 nonsense

Signed-off-by: Devin Buhl <devin@buhl.casa>

* upadte: readme and taskfile

Signed-off-by: Devin Buhl <devin@buhl.casa>

* update: renovate config

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-22 12:45:11 -05:00
Devin Buhl d9c7fd44ba feat: Do not rely on k0s file uploads - instead use curl (#1229)
* feat: Do not rely on k0s file uploads - instead use curl

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: add bootstrap_advanced_flags to validation

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: only skip tests for non-static config

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: only skip tests for non-static config

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: issues in k0s scripts

Signed-off-by: Devin Buhl <devin@buhl.casa>

* update: readme

Signed-off-by: Devin Buhl <devin@buhl.casa>

* update: taskfile

Signed-off-by: Devin Buhl <devin@buhl.casa>

* update: taskfile

Signed-off-by: Devin Buhl <devin@buhl.casa>

* update: k0s config and remove ansible hook

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-22 10:14:49 -05:00
Devin Buhl ba83e9a3c3 feat: add spegel to core components (#1225)
* feat: add spegel to core components

Signed-off-by: Devin Buhl <devin@buhl.casa>

* downgrade: csi-smb-driver

Signed-off-by: Devin Buhl <devin@buhl.casa>

* more: change to smb

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 19:24:38 -05:00
Devin Buhl 4dd36a7ca8 fix: update k0s spegel var 2024-01-21 17:53:58 -05:00
Devin Buhl 4be97f78e8 feat: update makejinja to 2.5.0 (#1221)
* feat: update makejinja to 2.5.0 and implement mjfilter

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: move logic for skip tests

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: update makejinja to 2.5.0

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 17:37:48 -05:00
Devin Buhl 2aa9e15cf0 fix: add k0s node name back to tls sans 2024-01-21 12:55:17 -05:00
Devin Buhl e1330d734c feat: more changes to templating (#1218)
* feat: clean up more jinja default references

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: add additional tls sans force kube-vip on k3s

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 11:39:12 -05:00
Devin Buhl 8339d142b7 feat: move various config options to advanced flags (#1217)
* feat: move various config options to advanced flags

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: remove lp refs

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 09:53:25 -05:00
Devin Buhl db21ea82fa feat: rename addon vars to addon_ prefix and simplify logic in jinja templates (#1216)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 09:05:23 -05:00
Devin Buhl b89b7b3ed9 feat: migrate to python for data validation (#1214)
* feat: migrate to python for data validation

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: address PR comments

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: add unused kwargs to validate functions

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update renovate pip and ansible regex

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: add bootstrap_nodes test

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update taskfiles

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 08:35:21 -05:00
Devin Buhl 1ec59d1559 feat: add advanced features to config (#1208)
* feat: add advanced features to config

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: only enable longhorn if distro is k3s or k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update ansible lint

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-20 12:27:20 -05:00
Devin Buhl 965bfcdcb9 feat: k0s remove isolated controllers support and ansible prepare playbook (#1205)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 17:35:33 -05:00
Devin Buhl 7c259abe44 fix: add talos docs to root readme (#1203)
* fix: add talos docs to root readme

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 10:45:21 -05:00
Devin Buhl 5a90397ed5 fix: use requires in taskfiles when needed (#1201)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 07:49:38 -05:00
Devin Buhl 79d849f0ac feat: add custom dns server support (#1199)
* feat: add custom dns server support

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: jinja tmpl

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 07:22:21 -05:00
Devin Buhl eed4faa9e6 fix: keep included k3s coredns (#1197)
* Delete bootstrap/templates/kubernetes/apps/kube-system/coredns directory

* Update kustomization.yaml.j2

* Delete bootstrap/templates/ansible/playbooks/templates/custom-coredns-helmchart.yaml.j2.j2

* Update cluster-installation.yaml.j2

* Delete bootstrap/templates/ansible/playbooks/tasks/coredns.yaml.j2

* Update main.yaml.j2

* Update main.yaml.j2

* Update main.yaml.j2

* Update main.yaml.j2

* Update cluster-installation.yaml.j2
2024-01-19 06:13:39 -05:00
Devin Buhl 91d8b84f3c feat: add talos support (#1192)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 05:36:25 -05:00
Devin Buhl cec32120db fix(k0s): clean up local path storage on reset 2024-01-18 23:44:16 -05:00
Devin Buhl f355b52326 fix(k0s): update network settings in config 2024-01-18 21:41:08 -05:00
Devin Buhl 08ed800e6c fix(k0s): update reboot command in reset hook 2024-01-18 21:03:35 -05:00
Devin Buhl 4e0941422c fix(k0s): reset hook wait one minute 2024-01-18 20:56:12 -05:00
Devin Buhl e1e7f7416b fix(k0s): update hooks in k0sctl.yaml 2024-01-18 16:34:19 -05:00
Devin Buhl db9f6d0258 fix(k0s): update logic in k0sctl.yaml 2024-01-18 16:08:32 -05:00
Devin Buhl d17354303e chore: remove extra line ending 2024-01-18 15:23:49 -05:00
Devin Buhl 0c4f0260d5 fix: ansible dir should only exist for k3s and k0s (#1191)
* fix: ansible dir should only exist for k3s and k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: rename partial files

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 13:52:11 -05:00
Devin Buhl 7c43fb1db0 feat: k0s add reset hooks for cleaning up cilium (#1183)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 10:12:03 -05:00
Devin Buhl d46e7f9663 feat: add partial support, change k0s config filename, always use NLLB for k0s (#1180)
* feat: add partial support, change k0s config filename, always use NLLB for k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update wording

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 08:38:03 -05:00
Devin Buhl 95094450fb feat: enable etcd monitoring for k0s (#1179)
* feat: enable etcd monitoring for k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: always enable etcd on k3s

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-17 19:44:53 -05:00
Devin Buhl ca9d1818fc feat: add spegel support for k0s (#1178)
* feat: add spegel support for k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: add spegel to e2e tests

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update containerd file paths and run apply from k0s-config dir

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: move containerd files after upload

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-17 16:00:28 -05:00
Devin Buhl edbcf28139 feat: add python version check (#1176)
* feat: add python version check

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: formatting

Signed-off-by: Devin Buhl <devin@buhl.casa>

* test python 3.10

* chore: taskfile formating

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: python 3.11 is minimum

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 21:13:58 -05:00
Devin Buhl 528508e834 feat: add ansible lint, update taskfiles, and makejinja to not strip trailing newlines (#1172)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 14:23:08 -05:00
Devin Buhl b41ccc8145 fix: add tls sans options for k3s too (#1170)
* fix: add tls sans options for k3s too

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update comment

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 10:52:48 -05:00
Devin Buhl 295f2e7eac fix: kube-vip was not rendering when enabled (#1169)
* fix: kube-vip was not rendering when enabled

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: forgot to save a file

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 09:56:41 -05:00
Devin Buhl 646f335689 feat: change jinja variable start/end delimiters to avoid conflicts with go templating (#1168)
* feat: change jinja variable start/end delimiters to avoid conflicts with go templating

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update comment in makejinja.toml

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update comment in makejinja.toml

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 09:25:12 -05:00
Devin Buhl b0ea9afbfd fix: bump makejinja and add force flag to Taskfile (#1166)
* fix: bump makejinja and add force flag to Taskfile

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: Run configure again to ensure idempotency

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 08:12:07 -05:00
Devin Buhl 93c9d21581 feat: change jinja block/start delimiters for renovate support (#1163)
* feat: change jinja block/start delimiters for renovate support

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update renovate config an helm repos

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-15 19:31:45 -05:00
Devin Buhl b602a7a1f5 fix: update makeninja - rename Archfile - check for k0sctl (#1161)
* fix: update makeninja

* Update Taskfile.yaml

* fix: check for k0sctl when k0s is choosen

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-15 15:39:37 -05:00
Devin Buhl 2ad3d87b06 fix: update Ansible taskfile (#1160) 2024-01-15 12:27:02 -05:00
Devin Buhl ea31a49817 feat: add kubeconform workflow and make kubeconform/kustomize required (#1159) 2024-01-15 09:42:50 -05:00
Devin Buhl e6fbc6e128 feat: remove the need for raw jinja blocks (#1158)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-15 00:03:41 -05:00
Devin Buhl f9481d6202 feat: replace ansible templating with makejinja (#1156) 2024-01-14 23:03:02 -05:00
Devin Buhl a4731906d9 feat: set lstrip on ansible template task and remove comments (#1155)
* feat: set lstrip on ansible template task and remove comments

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: cert-manager block was neing stripped

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-14 17:08:59 -05:00
Devin Buhl ef44ea1b2b chore: add ci tests for k0s (#1152) 2024-01-14 12:11:39 -05:00
Devin Buhl 6428678fae fix: only remove duplicate metrics in kps if distro is k3s (#1151)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-14 09:32:41 -05:00
Devin Buhl 5ee8a8a2fa fix: remove l2 announcement from k3s role config 2024-01-13 21:48:09 -05:00
Devin Buhl a21cadb06f feat: update e2e test to account for testing ipv6 (#1150) 2024-01-13 20:30:12 -05:00
Devin Buhl c9630bf4b5 fix: update cluster-rollout-update to be k0s compatible (#1149)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-13 20:01:22 -05:00
Devin Buhl a6cb35fed2 chore: add emoji next to related projects in readme 2024-01-13 12:43:35 -05:00
Devin Buhl a7bbbcfb5e chore: forgot one instance of paru in the readme 2024-01-13 12:28:36 -05:00
Devin Buhl 3b1ea970b1 fix: Updates to taskfiles and e2e workflow (#1144) 2024-01-13 12:04:44 -05:00
Devin Buhl 0363af873e fix: do not limit e2e workflow on folder changed 2024-01-12 23:14:14 -05:00
Devin Buhl 2f9e6068d3 feat: attempt to add a e2e workflow (#1143)
* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

* feat: attempt to add a e2e workflow

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-12 22:41:03 -05:00
Devin Buhl e8772928e2 fix: update local path var in nuke playbook 2024-01-11 18:40:39 -05:00
Devin Buhl d83e14935c fix: task folder gitignore 2024-01-11 18:39:28 -05:00
Devin Buhl f7eda7f8ec fix: k0s reset task 2024-01-11 18:23:56 -05:00
Devin Buhl 9f5999eaac fix: PYTHON_BIN not being set 2024-01-11 18:23:20 -05:00
Devin Buhl 270f67ab8a fix: kube vip URL changed 2024-01-05 10:36:00 -05:00
Devin Buhl e167882e64 feat!: refactor namespaces and add descheduler (#1110)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-02 16:48:33 -05:00
Devin Buhl 2a70283539 add k9s to brew packages 2023-12-30 21:56:49 -05:00
Devin Buhl 4600467917 chore: add important note in github webhook section 2023-12-30 15:10:17 -05:00
Devin Buhl eb4832d01a chore: update the lychee workflow to be more smarter about finding the link checker issue 2023-12-24 14:41:06 -05:00
Devin Buhl a0bf578111 chore(ansible): clean up indentation 2023-12-21 12:00:49 -05:00
Devin Buhl bd2d784b0f fix(ansible): longhorn components are now a daemonset, no need to use the selector 2023-12-21 12:00:00 -05:00
Devin Buhl 429ef51c96 fix: missing name on cluster-rollout-update playbook 2023-12-11 17:57:30 -05:00
Devin Buhl ebaccf69bb chore: update bootstrap_cilium_loadbalancer_mode description comments 2023-12-11 17:45:10 -05:00
Devin Buhl a374c72887 fix: be a bit smarter when reloading kernel modules 2023-12-11 15:31:12 -05:00
Devin Buhl bf28fbaebf fix: instead of defining modules twice just restart the modules-load service 2023-12-11 15:14:17 -05:00
Devin Buhl 65bfe7a992 fix: ManageForeignRoutes is not needed anymore
https://github.com/cilium/cilium/pull/27208/
2023-12-11 14:56:28 -05:00
Devin Buhl 929fdbd1b5 fix: set permission for labeler workflow 2023-12-11 12:05:02 -05:00
Devin Buhl e504f6119d chore: add admonishes to readme 2023-12-10 09:04:54 -05:00
Devin Buhl 6547d8277e fix: downgrade bcrypt due to passlib issue 2023-12-03 13:58:55 -05:00
Devin Buhl b5ff534f06 fix: run kube-vip playbook one node at a time 2023-12-03 09:04:28 -05:00
Devin Buhl de6bf19acd chore: fix cf link in readme 2023-12-02 19:11:06 -05:00
Devin Buhl 7e8cb5b5e4 chore: add SUC group to renovate config 2023-12-01 20:20:43 -05:00
Devin Buhl 2a1e4a4a31 chore: add release file to exclude renovate from changelog 2023-12-01 08:08:05 -05:00
Devin Buhl fe56fa0653 chore: fix task prompt spelling 2023-11-29 11:17:36 -05:00
Devin Buhl ee81349379 chore: add a task prompt on task configure 2023-11-29 11:03:52 -05:00
Devin Buhl 14bba07cc5 chore: add ansible-lint 2023-11-29 10:15:53 -05:00
Devin Buhl 08cea788b0 chore: add k8s and ansible config to vscode settings 2023-11-29 10:14:01 -05:00
Devin Buhl 0f7623c40b chore: update required python version to 3.10+ 2023-11-27 21:15:42 -05:00
Devin Buhl ae22b649e4 fix: add tolerations back to suc server plan 2023-11-26 13:32:18 -05:00
Devin Buhl 924fa044b2 chore: update readme 2023-11-25 19:10:31 -05:00
Devin Buhl 8b23097e1e fix: templating error on volsync prom rules 2023-11-24 10:52:26 -05:00
Devin Buhl 84574b2f64 feat!: Update Flux ks names and add volsync and snapshot-controller (#1036) 2023-11-23 17:49:40 -05:00
Devin Buhl fc3c7b56af revert: "feat(k3s): enable encryption at rest and stargz snapshotter"
stargz broken
2023-11-22 22:16:21 -05:00
Devin Buhl fdff319d4f feat(k3s): enable encryption at rest and stargz snapshotter 2023-11-22 20:15:04 -05:00
Devin Buhl 30cccac0ce fix: remove dupe when 2023-11-22 19:52:39 -05:00
Devin Buhl 521b08de99 chore: englash is hard 2023-11-21 17:47:05 -05:00
Devin Buhl 787aed1db2 chore: add a pre-start checklist item 2023-11-21 17:40:40 -05:00
Devin Buhl f47987ccdf fix: remove experimental Flux Helm drift detection 2023-11-21 17:27:10 -05:00
Devin Buhl 3ab157eb23 Update README.md 2023-11-17 18:46:51 -05:00
Devin Buhl d0f4708027 fix: upgrade bootstrap prom crd versions 2023-11-12 10:25:34 -05:00
Devin Buhl ab25928398 fix: add back spec.[install|upgrade].crds: CreateReplace to kps helm release 2023-11-12 10:20:57 -05:00
Devin Buhl 3f4bbb8405 fix: use git source for k3s galaxy role 2023-11-04 10:48:45 -04:00
Devin Buhl ddb3915a07 fix: remove secret on k8s dashboard ingress 2023-10-07 17:53:01 -04:00
Devin Buhl abcd85a5b9 fix: remove default main.yaml 2023-09-19 12:07:09 +08:00
Devin Buhl 352ac7060b fix: enable post quantum in cloudflared 2023-09-02 16:33:49 -04:00
Devin Buhl 760f15439e fix: enable k8s api load balancing over ipvs in kube-vip 2023-08-30 08:01:45 -04:00
Devin Buhl b21d68a884 fix: add trustCRDsExist to cilium helmrelease 2023-08-15 12:14:05 -04:00