Commit Graph

183 Commits

Author SHA1 Message Date
Khue Doan
4ec027a1bc perf(metal): install just OpenSSH server
Instead of the entire Headless Management group
2022-07-27 19:05:14 +07:00
Khue Doan
022b8169db
refactor(metal): migrate to Fedora 36 for newer packages (#73) 2022-07-20 22:49:12 +07:00
Bourne-ID
f650c894b0
refactor(pxe)!: combine dhcpd and tftpd to dnsmasq (#69)
* Add DNSMasq as an opt-in option

* Default to original

* Remove commented commands

* Remove dhcpd, replaced with dnsmasq

* Remove dhcpd, replaced with dnsmasq

* Move to dnsmasq

* dnsmasq output to stdout

* dnsmasq

* dnsmasq

* Remove unused code, update tag

* Correct title

Co-authored-by: Khue Doan <khuedoan98@gmail.com>

* Remove TFTP

Co-authored-by: Khue Doan <khuedoan98@gmail.com>

* rename to Dnsmasq

Moving to use proxy by default

Co-authored-by: Khue Doan <khuedoan98@gmail.com>

* Rename for consistency

Co-authored-by: Khue Doan <khuedoan98@gmail.com>

* Correct terminology

Co-authored-by: Khue Doan <khuedoan98@gmail.com>

* formatting

Co-authored-by: Khue Doan <khuedoan98@gmail.com>

* Additional logging

* proxy-by-default

* naming consistency

* naming consistency

* Revert Dnsmasq proxy ask

* proxy enabled by default

* naming consistency

* naming consistency

* Formatting

Co-authored-by: Robin Bourne <robin.bourne@onepeloton.com>
Co-authored-by: Khue Doan <khuedoan98@gmail.com>
2022-07-18 01:39:02 +07:00
Khue Doan
3b0b934df4 fix(metal): disable root password login
https://github.com/khuedoan/homelab/issues/63

Rocky Linux 8.6 requires root password to be set
2022-06-08 20:27:28 +07:00
Khue Doan
d4189337a8 Revert "fix(metal): temporarily revert to Rocky Linux 8.5"
This reverts commit 0e1ff60b10.
2022-06-08 20:27:12 +07:00
Khue Doan
0e1ff60b10 fix(metal): temporarily revert to Rocky Linux 8.5 2022-06-03 19:47:05 +07:00
Khue Doan
606c7ab46b
fix(metal): upgrade Rocky Linux to 8.6 and pin permanent URL
Fix https://github.com/khuedoan/homelab/issues/62
2022-05-19 00:18:29 +07:00
Khue Doan
cb87bbc690 style(metal): fix Ansible lint 2022-05-14 21:24:39 +07:00
Khue Doan
0fadfaaf5e chore(k3s): upgrade to v1.23.6 2022-05-14 14:23:25 +07:00
Khue Doan
132cd58c90 chore(k3s): ugprade to latest patch 1.23.5 2022-04-28 11:51:44 +07:00
Renovate Bot
bda1382704 chore(deps): update dependency alpine to v20220316 2022-03-23 13:33:53 +00:00
Khue Doan
a7d3045150 chore(k3s): upgrade to 1.23.4 2022-03-14 20:38:01 +07:00
Khue Doan
a706ca30c4 style(metal): update some task names 2022-03-06 14:47:32 +07:00
Khue Doan
a515b1eaac feat(metal): enable automatic upgrade for Rocky Linux 2022-02-25 01:31:52 +07:00
Khue Doan
1812ac67be feat(metal): show DHCP and TFTP logs 2022-02-20 16:08:10 +07:00
Khue Doan
bce3291872 refactor(metal): create partitions manually
https://github.com/khuedoan/homelab/issues/40
2022-02-19 12:23:57 +07:00
linhng
d10892a326
fix: use ip lease range based on network cidr (#41)
Co-authored-by: Nguyen Van Linh <linhnguyen.workspace@gmail.com>
2022-02-13 10:00:27 +07:00
Khue Doan
01712883fa refactor(kickstart): do not create a /home partition
https://github.com/khuedoan/homelab/issues/40
2022-02-13 08:37:02 +07:00
Khue Doan
2b85b11fc8 chore(k3s): upgrade to latest version
Need to automate this with Renovate Bot
2022-01-28 01:48:54 +07:00
Renovate Bot
d6a8495767 chore(deps): update all non-major dependencies helm releases 2022-01-27 18:19:34 +00:00
Khue Doan
59f900aef4 chore(metal/pxe): clean up rendered files 2022-01-16 10:59:23 +07:00
Khue Doan
431e6c151b fix(metal/pxe): use host var instead of group var for disk and nic 2022-01-15 16:37:41 +07:00
Khue Doan
c7da5cf185 chore(metal): switch to k3s 1.23 stable 2022-01-08 00:56:44 +07:00
Khue Doan
8ab9ac0817 feat(metallb): generate address pool automatically 2021-12-27 13:44:21 +07:00
Khue Doan
5de50cd42d style: Ansible lint 2021-12-26 12:12:36 +07:00
Khue Doan
d1727230eb chore: upgrade to Kubernetes 1.23 2021-12-25 11:37:28 +07:00
Khue Doan
9921cfab2d style(k3s): get config from default instead of hard code 2021-12-24 18:17:24 +07:00
Khue Doan
fee5058a22 feat: enable encryption at rest for Secrets 2021-12-22 15:25:59 +07:00
Khue Doan
045f7a377e perf(metal): disable all unused components 2021-12-22 15:25:32 +07:00
Loc Mai
cb57ddbb28
fix(metal): fix deprecated kernel parameter (#6) 2021-12-06 09:04:22 +07:00
Khue Doan
14ab5b24b6 fix(metal): ignore cached k3s binary 2021-11-25 18:30:30 +07:00
Khue Doan
a2895c822d fix(metal): fix cluster token generation 2021-11-25 18:29:41 +07:00
Khue Doan
ffb3a913d2 fix(metal): get kubeconfig from the first node only 2021-11-25 18:29:27 +07:00
Khue Doan
33219fd533 perf(metal): cache k3s binary on the controller 2021-11-25 18:28:19 +07:00
Khue Doan
dccdb9a494 fix(metal): use correct permission for kube config file 2021-11-16 11:18:48 +07:00
Khue Doan
7ab581fc6a chore: upgrade Rocky Linux ISO version 2021-11-16 09:04:29 +07:00
Khue Doan
cdbbd3900d chore(k3s)!: upgrade to Kubernetes v1.22.2 2021-10-28 21:25:34 +07:00
Khue Doan
1f6eb7f227 metal: fix unknown k3s param in worker nodes 2021-09-17 23:34:34 +07:00
Khue Doan
29ea97c509 Disable default storage (local) and ingress (traefik) 2021-09-03 12:32:32 +07:00
Khue Doan
f1263eb9b4 Set the correct cluster address in local kubeconfig 2021-09-01 20:12:09 +07:00
Khue Doan
e028ca7bc2 Move k3s systemd service from handler to task 2021-09-01 16:26:10 +07:00
Khue Doan
dc80ff21f9 Fix incorrect kubeconfig path 2021-09-01 05:46:12 +07:00
Khue Doan
6f5ef180d3 Fetch kubeconfig to local 2021-09-01 05:43:35 +07:00
Khue Doan
8a8d4d7ea2 Working k3s service and config 2021-09-01 05:35:35 +07:00
Khue Doan
713631587c Improve k3s config template rendering 2021-09-01 04:58:47 +07:00
Khue Doan
92387435c8 Add k3s role 2021-09-01 04:19:05 +07:00
Khue Doan
1ddab8a2a4 Move dhcp and grub config to data 2021-08-31 05:11:42 +07:00
Khue Doan
5d44f46401 Add missing iSCSI package to kickstart 2021-08-31 04:38:30 +07:00
Khue Doan
2a944bd597 Fix incorrect installer address 2021-08-31 04:17:59 +07:00
Khue Doan
e4b2ebb979 Remove tfstate role 2021-08-31 02:12:41 +07:00