Commit Graph
55 Commits
Author SHA1 Message Date
d093d0a4e1 add k0s support (#1123)
* ignore idea

* Initial work on support for k0s

* *  Changed config param to bootstrap_distribution
*  Replaced democratic-csi with openebs
*  Added notes about system-upgrade-controller being ignored with k0s
*  Removed password for nodes

* *  Switched to single storage path for openebs
*  Removed democratic-csi helm repo
*  Added missing openebs helm repo
*  Fixed template formatting
*  Made bootstrap_private_github_repo hidden/undocumented
*  Updated flux cluster config to accommodate bootstrap_private_github_repo

* *  added the storageclass name to be declarative

* *  added newline
*  set chart wait false

* *  fixed spacing in K0sTasks
*  fixed openebs path
*  properly added openebs helm repo

* *  updated configure task to use venv
*  renamed bootstrap_kube_vip_addr to bootstrap_kubeapi_addr
*  renamed bootstrap_kube_vip_addr derived variables accordingly

* *  tweaked configure task cmd
*  started work on k0s-config.yaml template

* *  tweaked k0s task cmd
*  moved coredns under addons rather than optional
*  fixed typo in coredns task
*  normalized formatting in k0s-config
*  disabled telemetry in k0s-config
*  added renovate to k0s-config
*  removed tunnel and added routing mode in k0s-config cilium chart values
*  updated docs in config example
*  fixed issue with k0s-config controller role so it didn't default to worker+controller if more than one master

* *  fixed whitespace

* add k0sctl to brew tasks

* Update bootstrap/vars/config.sample.yaml

* Update bootstrap/vars/config.sample.yaml

* Update k0s-config.yaml.j2

* Update config.sample.yaml

* controllerManager and scheduler bind to `0.0.0.0` for metrics

* Update custom-cilium-helmchart.yaml.j2.j2

* Update helmvalues.yaml.j2

* Update bootstrap/tasks/addons/main.yaml

* first pass at readme updates

* update placement of k0sconfig options

* disable telemetry on k0sctl too

* disable k0s telemetry in env too

* update: jinja spacing in k0sconfig

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

* fix: ensure bootstrap_local_storage_path is delete on nuke

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

* fix: update renovate regex for k3s/k0s

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

* fix: update nuke playbook and only include k3s task when k3s

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

* fix: update nuke playbook and only include k3s task when k3s and include jinja comments

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
Co-authored-by: Devin Buhl <devin@buhl.casa>
2024-01-11 15:03:36 -05:00
Devin Buhl f9a7307f76 feat: move installing prom operator crds to taskfile
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-06 09:22:43 -05:00
Devin Buhl 1edb159559 feat: replace stale-containers systemd timer with kubelet-args
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-04 07:50:32 -05:00
Devin Buhl 5ed37745f3 fix: update nuke playbook to run tasks directly
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-04 07:44:24 -05:00
renovate[bot] f0069a6b72 feat(helm): update chart coredns to 1.29.0 (#1102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-28 09:03:42 -05:00
renovate[bot] 09d941d0e8 fix(helm): update chart cilium to 1.14.5 (#1090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-21 19:43:03 -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 ab7a99abbe feat: add bootstrap_cilium_loadbalancer_mode config option and default to dsr
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-11 16:07:57 -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
renovate[bot] 4cffc74b53 fix(container): update image ghcr.io/kube-vip/kube-vip to v0.6.4 (#1066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 18:09:14 -05:00
sp3nx0r ab174f87fd [bootstrap] feat: target cluster ansible plays only to kubernetes in case other hosts are used (#1065) 2023-12-07 09:51:08 -05:00
sp3nx0r 6be6e78427 [bootstrap] fix: remove conflicting condition for immutable flag and state:absent (#1064) 2023-12-07 09:49:43 -05:00
Devin Buhl e660fbaa1e fix: change attribute before deleting the file
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-03 17:20:00 -05:00
Devin Buhl b5ff534f06 fix: run kube-vip playbook one node at a time 2023-12-03 09:04:28 -05:00
renovate[bot] 8f28cab5ef fix(helm): update chart coredns to 1.28.2 (#1053)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 10:11:14 -05:00
Devin Buhl 30cccac0ce fix: remove dupe when 2023-11-22 19:52:39 -05:00
Chad Zimmerman 30b4a88048 Update cluster-rollout-update.yaml.j2 (#1035) 2023-11-22 19:46:26 -05:00
Devin Buhl fde77c3f9e feat(ansible): remove search domain from /etc/resolv.conf
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-11-21 10:12:48 -05:00
renovate[bot] c4e0fa1063 fix(helm): update chart cilium to 1.14.4 (#1019)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 15:39:28 -05:00
renovate[bot] 96d9c69ebc feat(helm): update chart coredns to 1.28.1 (#1005)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-02 12:51:23 -04:00
bri a4642e6e52 fix: #990 don't disable apparmor unless it's installed (#991) 2023-10-24 19:51:15 -04:00
renovate[bot] ab9acc5c06 fix(helm): update chart cilium to 1.14.3 (#984)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-21 15:07:55 -04:00
renovate[bot] 840f388c51 fix(container): update image ghcr.io/kube-vip/kube-vip to v0.6.3 (#963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 15:00:39 -04:00
renovate[bot] 32fd742152 fix(helm): update chart coredns to 1.27.1 (#964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 15:00:23 -04:00
renovate[bot] 94c9106dae feat(helm): update chart coredns to 1.27.0 (#958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 23:07:01 -04:00
renovate[bot]andDevin Buhl e15369c847 fix(helm): update chart cilium to 1.14.2 (#934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-09-13 09:37:18 -04:00
Devin Buhl d0e9bf8f2d fix: update cilium kubeProxyReplacement helm value
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-09-03 09:37:31 -04:00
renovate[bot]andDevin Buhl e3f7762c23 fix(helm): update chart cilium to 1.14.1 (#903)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-08-30 08:03:00 -04:00
Devin Buhl 760f15439e fix: enable k8s api load balancing over ipvs in kube-vip 2023-08-30 08:01:45 -04:00
renovate[bot] 8a5c0c3be0 fix(container): update image ghcr.io/kube-vip/kube-vip to v0.6.2 (#913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 07:58:58 -04:00
renovate[bot] 988f741f5f feat(helm): update chart coredns to 1.26.0 (#907)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 12:24:03 -04:00
renovate[bot] 1554c4d432 fix(container): update image ghcr.io/kube-vip/kube-vip to v0.6.1 (#901)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-13 13:14:21 -04:00
renovate[bot] 88d9c39693 fix(helm): update chart coredns to 1.24.5 (#898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-13 12:38:05 -04:00
renovate[bot] 27054ead50 fix(helm): update chart coredns to 1.24.4 (#897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 08:57:51 -04:00
renovate[bot] 7791a59411 fix(helm): update chart coredns to 1.24.3 (#888)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 20:25:48 -04:00
renovate[bot]andDevin Buhl f9b1ddbd2c fix(helm): update chart cilium to 1.14.0 (#879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-07-28 17:54:23 -04:00
renovate[bot] 60bc53c84d fix(helm): update chart coredns to 1.24.2 (#878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:07:42 -04:00
Devin Buhl f037aa4a55 chore: renovate helm.cattle.io/v1 HelmCharts
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-27 07:55:27 -04:00
Devin Buhl 3a74be1eeb feat: Update KPS and include scrapeconfigs in bootstrap
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-22 08:54:03 -04:00
Chad ZimmermanandDevin Buhl 74c70ad7de Update patching playbook to utilize kubernetes.core collection (#859)
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-07-19 11:53:20 -04:00
Devin Buhl 571a7454c0 refactor: install ansible with Python venv (#863) 2023-07-19 11:03:59 -04:00
Devin Buhl e4d1fa15d6 fix(ansible): update cluster-rollout-update playbook
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-19 08:27:00 -04:00
Devin Buhl 40b97fd841 fix: upgrade cilium helm version to 1.14.0-rc.1
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-18 07:30:30 -04:00
Devin Buhl 4dd5f9d5a8 feat: re-introduce flux vars for cluster network settings
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-17 20:52:12 -04:00
Devin Buhl bd2b24aad0 chore: update logic in cilium helmchart and var ordering
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-17 18:04:58 -04:00
Devin Buhl cf34c795b6 fix: when IPv6 is enabled cilium l2 CRs are not needed
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-17 17:25:15 -04:00