Commit Graph

250 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
cd41343580
refactor(docs): migrate to mkdocs (#68)
* refactor(docs): migrate to mkdocs

* More markdown

* Admonitions
2022-07-06 12:33:35 +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
d16f56981b style(metal): forces color mode in Ansible 2022-05-14 21:01:32 +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
Khue Doan
062cdd5376 refactor!: switch dev environment from Vagrant to k3d 2022-04-04 03:21:42 +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
5952b3d208 build(metal): add target for ansible-console 2022-02-25 01:38:53 +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
f9c900b0dd refactor!: remove staging environment
- Hard to setup
- Expensive
- For PXE boot testing, just use a VM with network boot
2022-02-20 10:58:59 +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
Khue Doan
71e0828297 refactor(metal): remove shutdown playbook
Use ansible-console instead
2022-02-19 10:52:52 +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
e425c363ed perf: reduce dev VM requirements 2022-02-11 21:37:10 +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
1d24035249 docs: show dev VM specs dynamically 2022-01-24 21:59:25 +07:00
Khue Doan
59f900aef4 chore(metal/pxe): clean up rendered files 2022-01-16 10:59:23 +07:00
Khue Doan
ec16e998d1 refactor(metal): rename staging nodes 2022-01-15 22:08:09 +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
22b5fcb4db feat(metal): add staging environment 2022-01-15 16:36:58 +07:00
Khue Doan
d92768e181 Revert "Revert "refactor(metal): put hardware info in inventory too""
This reverts commit 3e01b44b0f.
2022-01-15 16:04:59 +07:00
Khue Doan
3e01b44b0f Revert "refactor(metal): put hardware info in inventory too"
This reverts commit 3a72a6d468.
2022-01-15 10:39:20 +07:00
Khue Doan
c7da5cf185 chore(metal): switch to k3s 1.23 stable 2022-01-08 00:56:44 +07:00
Khue Doan
3a72a6d468 refactor(metal): put hardware info in inventory too
Because we may have a mix of different hardware types
2022-01-04 22:21:24 +07:00
Khue Doan
10e7cb6736 refactor: switch back to bridge network for dev VM 2022-01-02 15:38:04 +07:00
Khue Doan
368892c050 style(metal): add quote to MAC address 2022-01-02 14:22:56 +07:00
Khue Doan
6f0f8dd6f9 feat: generate dev VM IP address based on inventory 2022-01-02 14:05:22 +07:00
Khue Doan
66c70c023f refactor(metal): convert inventories back to YAML
Easier for Vagrant (and other tools in the future) to parse
2022-01-02 12:27:21 +07:00
Khue Doan
ecd9cf9173 feat(metal): generate dev VM ansible_host automatically 2021-12-31 16:45:53 +07:00
Khue Doan
8ab9ac0817 feat(metallb): generate address pool automatically 2021-12-27 13:44:21 +07:00
Khue Doan
9e59f1ad81 chore: cleanup lint targets
Let CI pipeline do it
2021-12-27 11:36:47 +07:00
Khue Doan
5de50cd42d style: Ansible lint 2021-12-26 12:12:36 +07:00
Khue Doan
83dcf7aa60 chore: increase dev VM disk size 2021-12-25 22:28:09 +07:00
Khue Doan
167e0f1560 feat(metal): generate SSH key automatically if not exists 2021-12-25 14:56:49 +07:00
Khue Doan
d1727230eb chore: upgrade to Kubernetes 1.23 2021-12-25 11:37:28 +07:00
Khue Doan
5ff9cdb8dd fix: fix cannot view logs on dev VM
Failed to create fsnotify watcher: too many open files

https://www.suse.com/support/kb/doc/?id=000020048
2021-12-25 11:04:14 +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