From 891de9c703d1482977a8521bd94e819eb0ac692d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mu=CC=88hlebach?= Date: Wed, 23 Oct 2024 23:24:15 +0200 Subject: [PATCH] chore: update doc --- docs/bare-metal.md | 30 ++++++++++++++++++++++++++++++ docs/custom-images.md | 1 + 2 files changed, 31 insertions(+) diff --git a/docs/bare-metal.md b/docs/bare-metal.md index 7e91b0f98..4cf638ac0 100644 --- a/docs/bare-metal.md +++ b/docs/bare-metal.md @@ -4,6 +4,20 @@ https://www.blinkstick.com/products/blinkstick-nano The initial setup is done with Ansible. +## Bootstrap new Raspberry Pi + +* Download newest Raspberry Pi Imager +* Image Ubuntu Server +* (Req: MAC is configure in DHCP) +* Boot Up +* (Optional) If host was already configured: `sudo ssh-keygen -R ` and `sudo ssh-keygen -R ` +* Configure new host in ansible `hosts.yaml` +* Add system to the hosts file +* Ensure the default user exists in `group_vars/.yaml` + Otherwise add a file with the variable `ansible_user_first_run` +* Run ansible with `ansible-playbook add-user-ssh.yaml --limit ` + + ## PoE HAT The fan of the PoE HAT tends to occelate between min and max speed. Accoding to @@ -251,6 +265,22 @@ ethtool -K gso off gro off tso off This should be added as startup command to `/etc/network/if-up.d/` +## Hardware Buy List + +* https://www.mk1manufacturing.com/cart.php?m=view +* https://racknex.com/shop/lenovo/ +* https://www.uctronics.com/raspberry-pi.html +* https://store.45homelab.com/configure/hl15 +* https://www.serverschmiede.com/konfigurator_bulk/en/truenas +* https://www.serverschmiede.com/konfigurator_bulk/en/supermicro-cse-116ts-h12ssw-ntr-19-1u-10x-25-sff-nvme-sas-sata-amd-epyc-gen2-gen3-ddr4-ecc-raid-2x-psu +* https://serverando.de/Server/ +* https://www.servethehome.com/introducing-project-tinyminimicro-home-lab-revolution/ +* https://www.pchc.ch/en/Divers/spare-parts/Lenovo-CARDPOP-BLD-Tiny8-BTB-LAN-card----5C50W00908.html +* https://www.ebay.com/itm/276424564157 +* +* + + [1]: https://min.io/docs/minio/linux/integrations/generate-lets-encrypt-certificate-using-certbot-for-minio.html [2]: https://www.digitalocean.com/community/tutorials/how-to-acquire-a-let-s-encrypt-certificate-using-dns-validation-with-acme-dns-certbot-on-ubuntu-18-04 [3]: https://www.jeffgeerling.com/blog/2021/taking-control-pi-poe-hats-overly-aggressive-fan diff --git a/docs/custom-images.md b/docs/custom-images.md index 8e4c47824..f06bc8bd9 100644 --- a/docs/custom-images.md +++ b/docs/custom-images.md @@ -7,6 +7,7 @@ https://github.com/norwoodj/helm-docs https://keepachangelog.com/en/1.0.0/ +k8s best practices for images: https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-how-and-why-to-build-small-container-images For the task of creating my own images I got inspired by the setup from [k8s-at-home][kah] and of it's contributers like [onedr0p]