diff options
16 files changed, 391 insertions, 86 deletions
diff --git a/about/resources.md b/about/resources.md index cbfbf08d..c469a3d1 100644 --- a/about/resources.md +++ b/about/resources.md @@ -35,98 +35,98 @@ You won't find any links on this site because, over time, the links will break. In random order: -* Higher Order Perl; Mark Dominus; Morgan Kaufmann +* Perl New Features; Joshua McAdams, brian d foy; Perl School * The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton -* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers -* The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional Pro Git; Scott Chacon, Ben Straub; Apress -* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly -* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly -* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly -* Developing Games in Java; David Brackeen and others...; New Riders -* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson +* Polished Ruby Programming; Jeremy Evans; Packt Publishing +* C++ Programming Language; Bjarne Stroustrup; +* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press +* Effective awk programming; Arnold Robbins; O'Reilly +* Higher Order Perl; Mark Dominus; Morgan Kaufmann * Pro Puppet; James Turnbull, Jeffrey McCune; Apress -* Raku Fundamentals; Moritz Lenz; Apress -* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications -* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible -* DNS and BIND; Cricket Liu; O'Reilly +* The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional Pro Git; Scott Chacon, Ben Straub; Apress * Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly -* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible -* Effective Java; Joshua Bloch; Addison-Wesley Professional -* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional -* Effective awk programming; Arnold Robbins; O'Reilly -* Raku Recipes; J.J. Merelo; Apress -* Site Reliability Engineering; How Google runs production systems; O'Reilly +* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly +* Java ist auch eine Insel; Christian Ullenboom; +* Terraform Cookbook; Mikael Krief; Packt Publishing +* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications * The Kubernetes Book; Nigel Poulton; Unabridged Audiobook -* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press -* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner -* The Docker Book; James Turnbull; Kindle * The Pragmatic Programmer; David Thomas; Addison-Wesley -* Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt -* C++ Programming Language; Bjarne Stroustrup; +* Raku Fundamentals; Moritz Lenz; Apress * Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers -* Polished Ruby Programming; Jeremy Evans; Packt Publishing -* Concurrency in Go; Katherine Cox-Buday; O'Reilly +* Leanring eBPF; Liz Rice; O'Reilly +* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson +* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly +* The Docker Book; James Turnbull; Kindle * Modern Perl; Chromatic ; Onyx Neon Press -* Java ist auch eine Insel; Christian Ullenboom; -* Systemprogrammierung in Go; Frank Müller; dpunkt +* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional +* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly +* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible +* Concurrency in Go; Katherine Cox-Buday; O'Reilly +* Developing Games in Java; David Brackeen and others...; New Riders +* Site Reliability Engineering; How Google runs production systems; O'Reilly +* Effective Java; Joshua Bloch; Addison-Wesley Professional +* Raku Recipes; J.J. Merelo; Apress +* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly * Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press -* Funktionale Programmierung; Peter Pepper; Springer -* Perl New Features; Joshua McAdams, brian d foy; Perl School +* Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt * Ultimate Go Notebook; Bill Kennedy -* Leanring eBPF; Liz Rice; O'Reilly -* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly -* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly -* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly -* Terraform Cookbook; Mikael Krief; Packt Publishing +* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly +* Systemprogrammierung in Go; Frank Müller; dpunkt +* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers +* DNS and BIND; Cricket Liu; O'Reilly * Data Science at the Command Line; Jeroen Janssens; O'Reilly -* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications +* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible +* Funktionale Programmierung; Peter Pepper; Springer +* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly +* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner +* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications ## Technical references I didn't read them from the beginning to the end, but I am using them to look up things. The books are in random order: +* Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley * BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley +* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly * The Linux Programming Interface; Michael Kerrisk; No Starch Press -* Implementing Service Level Objectives; Alex Hidalgo; O'Reilly * Relayd and Httpd Mastery; Michael W Lucas -* Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley +* Implementing Service Level Objectives; Alex Hidalgo; O'Reilly * Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly -* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly ## Self-development and soft-skills books In random order: * Ultralearning; Scott Young; Thorsons -* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select -* The Good Enough Job; Simone Stolzoff; Ebury Edge -* Slow Productivity; Cal Newport; Penguin Random House -* Staff Engineer: Leadership beyond the management track; Will Larson; Audible +* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books * Stop starting, start finishing; Arne Roock; Lean-Kanban University +* Ultralearning; Anna Laurent; Self-published via Amazon +* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing +* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press +* So Good They Can't Ignore You; Cal Newport; Business Plus +* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd +* The Off Switch; Mark Cropley; Virgin Books +* Digital Minimalism; Cal Newport; Portofolio Penguin +* Eat That Frog!; Brian Tracy; Hodder Paperbacks * Atomic Habits; James Clear; Random House Business * Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion +* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly +* The Good Enough Job; Simone Stolzoff; Ebury Edge +* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK * The Power of Now; Eckhard Tolle; Yellow Kite -* The Off Switch; Mark Cropley; Virgin Books -* Digital Minimalism; Cal Newport; Portofolio Penguin -* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd +* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select * The Bullet Journal Method; Ryder Carroll; Fourth Estate * Soft Skills; John Sommez; Manning Publications -* Deep Work; Cal Newport; Piatkus -* So Good They Can't Ignore You; Cal Newport; Business Plus +* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business +* Influence without Authority; A. Cohen, D. Bradford; Wiley * The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook -* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing +* Deep Work; Cal Newport; Piatkus +* 101 Essays that change the way you think; Brianna Wiest; Audible * The Joy of Missing Out; Christina Crook; New Society Publishers -* Eat That Frog!; Brian Tracy; Hodder Paperbacks -* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne -* Influence without Authority; A. Cohen, D. Bradford; Wiley -* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK -* Ultralearning; Anna Laurent; Self-published via Amazon -* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books -* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press -* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly +* Staff Engineer: Leadership beyond the management track; Will Larson; Audible * Psycho-Cybernetics; Maxwell Maltz; Perigee Books -* 101 Essays that change the way you think; Brianna Wiest; Audible -* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business +* Slow Productivity; Cal Newport; Penguin Random House +* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne [Here are notes of mine for some of the books](../notes/index.md) @@ -134,22 +134,22 @@ In random order: Some of these were in-person with exams; others were online learning lectures only. In random order: +* Ultimate Go Programming; Bill Kennedy; O'Reilly Online +* Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon * Protocol buffers; O'Reilly Online -* Red Hat Certified System Administrator; Course + certification (Although I had the option, I decided not to take the next course as it is more effective to self learn what I need) +* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online * MySQL Deep Dive Workshop; 2-day on-site training -* The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online -* F5 Loadbalancers Training; 2-day on-site training; F5, Inc. -* Ultimate Go Programming; Bill Kennedy; O'Reilly Online +* Scripting Vim; Damian Conway; O'Reilly Online +* Developing IaC with Terraform (with Live Lessons); O'Reilly Online +* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training * Apache Tomcat Best Practises; 3-day on-site training -* AWS Immersion Day; Amazon; 1-day interactive online training -* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online -* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online * Functional programming lecture; Remote University of Hagen +* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online * Structure and Interpretation of Computer Programs; Harold Abelson and more...; -* Developing IaC with Terraform (with Live Lessons); O'Reilly Online -* Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon -* Scripting Vim; Damian Conway; O'Reilly Online -* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training +* F5 Loadbalancers Training; 2-day on-site training; F5, Inc. +* AWS Immersion Day; Amazon; 1-day interactive online training +* Red Hat Certified System Administrator; Course + certification (Although I had the option, I decided not to take the next course as it is more effective to self learn what I need) +* The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online ## Technical guides @@ -164,41 +164,41 @@ These are not whole books, but guides (smaller or larger) which I found very use In random order: +* Cup o' Go [Golang] +* Maintainable +* The Pragmatic Engineer Podcast +* The ProdCast (Google SRE Podcast) * Hidden Brain * Backend Banter -* The ProdCast (Google SRE Podcast) -* Ship it (Changelog) -* Maintainable * Go Time (Changelog) -* The Pragmatic Engineer Podcast -* Cup o' Go [Golang] -* Dev Interrupted * Deep Questions with Cal Newport +* Ship it (Changelog) +* Dev Interrupted ### Podcasts I liked I liked them but am not listening to them anymore. The podcasts have either "finished" (no more episodes) or I stopped listening to them due to time constraints or a shift in my interests. -* CRE: Chaosradio Express [german] -* Java Pub House * FLOSS weekly +* CRE: Chaosradio Express [german] * Modern Mentor +* Java Pub House ## Newsletters I like This is a mix of tech and non-tech newsletters I am subscribed to. In random order: -* byteSizeGo -* Monospace Mentor * Changelog News -* Ruby Weekly -* The Imperfectionist -* The Valuable Dev * Golang Weekly -* VK Newsletter -* Applied Go Weekly Newsletter * Register Spill * Andreas Brandhorst Newsletter (Sci-Fi author) +* VK Newsletter +* The Valuable Dev +* byteSizeGo +* Applied Go Weekly Newsletter +* Monospace Mentor +* Ruby Weekly +* The Imperfectionist # Formal education diff --git a/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.md b/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.md index b2dd4ed7..80ee2f80 100644 --- a/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.md +++ b/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.md @@ -403,5 +403,6 @@ Other *BSD related posts are: [2024-01-13 One reason why I love OpenBSD](./2024-01-13-one-reason-why-i-love-openbsd.md) [2024-04-01 KISS high-availability with OpenBSD](./2024-04-01-KISS-high-availability-with-OpenBSD.md) [2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) [Back to the main site](../) diff --git a/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.md b/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.md index f8ce7cae..6cd856e3 100644 --- a/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.md +++ b/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.md @@ -682,5 +682,6 @@ Other *BSD related posts are: [2024-01-13 One reason why I love OpenBSD](./2024-01-13-one-reason-why-i-love-openbsd.md) [2024-04-01 KISS high-availability with OpenBSD](./2024-04-01-KISS-high-availability-with-OpenBSD.md) [2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) [Back to the main site](../) diff --git a/gemfeed/2024-01-13-one-reason-why-i-love-openbsd.md b/gemfeed/2024-01-13-one-reason-why-i-love-openbsd.md index 607c6b83..56dc6c7f 100644 --- a/gemfeed/2024-01-13-one-reason-why-i-love-openbsd.md +++ b/gemfeed/2024-01-13-one-reason-why-i-love-openbsd.md @@ -57,5 +57,6 @@ Other *BSD related posts are: [2024-01-13 One reason why I love OpenBSD (You are currently reading this)](./2024-01-13-one-reason-why-i-love-openbsd.md) [2024-04-01 KISS high-availability with OpenBSD](./2024-04-01-KISS-high-availability-with-OpenBSD.md) [2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) [Back to the main site](../) diff --git a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md index 44495d5c..50de8943 100644 --- a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md +++ b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md @@ -308,5 +308,6 @@ Other *BSD and KISS related posts are: [2024-01-13 One reason why I love OpenBSD](./2024-01-13-one-reason-why-i-love-openbsd.md) [2024-04-01 KISS high-availability with OpenBSD (You are currently reading this)](./2024-04-01-KISS-high-availability-with-OpenBSD.md) [2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) [Back to the main site](../) diff --git a/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.md b/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.md index 5f11fa22..568813dd 100644 --- a/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.md +++ b/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.md @@ -6,7 +6,10 @@ This is the first blog post about my f3s series for my self-hosting demands in m I will post a new entry every month or so (there are too many other side projects for more frequent updates—I bet you can understand). +These are all the posts so far: + [2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage (You are currently reading this)](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) [](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) @@ -149,6 +152,10 @@ For now, though, I'm focused on completing the migration from AWS ECS and gettin What's your take on self-hosting? Are you planning to move away from managed cloud services? Stay tuned for the second part of this series, where I will likely write about the hardware and the OS setups. +Read the next post of this series: + +[f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) + Other *BSD-related posts: [2016-04-09 Jails and ZFS with Puppet on FreeBSD](./2016-04-09-jails-and-zfs-on-freebsd-with-puppet.md) @@ -157,6 +164,7 @@ Other *BSD-related posts: [2024-01-13 One reason why I love OpenBSD](./2024-01-13-one-reason-why-i-love-openbsd.md) [2024-04-01 KISS high-availability with OpenBSD](./2024-04-01-KISS-high-availability-with-OpenBSD.md) [2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage (You are currently reading this)](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) E-Mail your comments to `paul@nospam.buetow.org` :-) diff --git a/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md b/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md new file mode 100644 index 00000000..9066d035 --- /dev/null +++ b/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md @@ -0,0 +1,289 @@ +# f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation + +> Published at 2024-12-02T23:46:16+02:00 + +This is the second blog post about my f3s series for my self-hosting demands in my home lab. f3s? The "f" stands for FreeBSD, and the "3s" stands for k3s, the Kubernetes distribution I will use on FreeBSD-based physical machines. + +We set the stage last time; this time, we will set up the hardware for this project. + +These are all the posts so far: + +[2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation (You are currently reading this)](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) + +[](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) + +> Logo was generated by ChatGPT. + +Let's continue... + +## Table of Contents + +* [⇢ f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](#f3s-kubernetes-with-freebsd---part-2-hardware-and-base-installation) +* [⇢ ⇢ Deciding on the hardware](#deciding-on-the-hardware) +* [⇢ ⇢ ⇢ Not ARM but Intel N100 ](#not-arm-but-intel-n100-) +* [⇢ ⇢ ⇢ Beelink unboxing](#beelink-unboxing) +* [⇢ ⇢ ⇢ Network switch](#network-switch) +* [⇢ ⇢ Installing FreeBSD](#installing-freebsd) +* [⇢ ⇢ ⇢ Base install](#base-install) +* [⇢ ⇢ ⇢ Latest patch level and customizing `/etc/hosts`](#latest-patch-level-and-customizing-etchosts) +* [⇢ ⇢ ⇢ Additional packages after install](#additional-packages-after-install) +* [⇢ ⇢ Hardware check](#hardware-check) +* [⇢ ⇢ ⇢ Ethernet](#ethernet) +* [⇢ ⇢ ⇢ RAM](#ram) +* [⇢ ⇢ ⇢ CPUs](#cpus) +* [⇢ ⇢ ⇢ CPU throttling](#cpu-throttling) +* [⇢ ⇢ Conclusion](#conclusion) + +## Deciding on the hardware + +Note that the OpenBSD VMs included in the F3S setup (which will be used later in this blog series for internet ingress) are already there. These are virtual machines that I rent at OpenBSD Amsterdam and Hetzner. + +[https://openbsd.amsterdam](https://openbsd.amsterdam) +[https://hetzner.cloud](https://hetzner.cloud) + +This means that the FreeBSD boxes need to be covered, which will later be running k3s in Linux VMs via bhyve hypervisor. + +I've been considering whether to use Raspberry Pis or look for alternatives. It turns out that complete N100-based mini-computers aren't much more expensive than Raspberry Pi 5s, and they don't require assembly. Furthermore, I like that they are AMD64 and not ARM-based, which increases compatibility with some applications (e.g., I might want to virtualize Windows (via bhyve) on one of those, though that's out of scope for this blog series). + +### Not ARM but Intel N100 + +I needed something compact, efficient, and capable enough to handle the demands of a small-scale Kubernetes cluster and preferably something I don't have to assemble a lot. After researching, I decided on the Beelink S12 Pro with Intel N100 CPUs. + +[Beelink Min S12 Pro N100 official page](https://www.bee-link.com/products/beelink-mini-s12-pro-n100) + +The Intel N100 CPUs are built on the "Alder Lake-N" architecture. These chips are designed to balance performance and energy efficiency well. With four cores, they're more than capable of running multiple containers, even with moderate workloads. Plus, they consume only 6W of power, keeping the electricity bill low and the setup quiet - perfect for 24/7 operation. + +[](./f3s-kubernetes-with-freebsd-part-2/f3s-collage1.jpg) + +The Beelink comes with the following specs: + +* 12th Gen Intel N100 processor, with four cores and four threads, and a maximum frequency of up to 3.4 GHz. +* 16 GB of DDR4 RAM, with a maximum (official) size of 16 GB (but people could install 32 GB on it). +* 500 GB M.2 SSD, with the option to install a 2nd 2.5 SSD drive (which I want to use later in this blog series). +* GBit ethernet +* Four USB 3.2 Gen2 ports (maybe I want to mount something externally at some point) +* Dimensions and weight: 115*102*39mm, 280g +* Silent cooling system. +* HDMI output (needed only for the initial installation) +* Auto power on via WoL (may make use of it) +* Wi-Fi (not going to use it) + +I bought three (3) of them for the cluster I intend to build. + +### Beelink unboxing + +Unboxing was uneventful. Every Beelink PC came with: + +* An AC power adapter +* An HDMI cable +* A VESA mount with screws (not using it as of now) +* Some manuals +* The pre-assembled Beelink PC itself. +* A "Hello" post card (??) + +Overall, I love the small form factor. + +### Network switch + +I went with the TP-Link mini 5-port switch, as I had a spare one available. That switch will be plugged into my wall Ethernet port, which connects directly to my fiber internet router with 100 Mbit/s down and 50 Mbit/s upload speed. + +[](./f3s-kubernetes-with-freebsd-part-2/switch.jpg) + +## Installing FreeBSD + +### Base install + +First, I downloaded the boot-only ISO of the latest FreeBSD release and dumped it on a USB stick on my Fedora laptop: + +```sh +[paul@earth]~/Downloads% sudo dd \ + if=FreeBSD-14.1-RELEASE-amd64-bootonly.iso \ + of=/dev/sda conv=sync +``` + +Next, I plugged the Beelinks (one after another) into my monitor via HDMI (the resolution of the FreeBSD text console seems strangely stretched, as I am using the LG Dual Up monitor), connected Ethernet, an external USB keyboard, and the FreeBSD USB stick, and booted the devices up. With F7, I entered the boot menu and selected the USB stick for the FreeBSD installation. + +The installation was uneventful. I selected: + +* Guided ZFS on root (pool `zroot`) +* Unencrypted ZFS (I will encrypt separate datasets later; I want it to be able to boot without human interaction) +* Static IP configuration (to ensure that the boxes always have the same IPs, even after switching the router/DHCP server) +* I decided to enable the SSH daemon, NTP server, and NTP time synchronization at boot, and I also enabled powerd for automatic CPU frequency scaling. +* In addition to `root,` I added a personal user, `paul,` whom I placed in the `wheel` group. + +After doing all that three times (once for each Beelink PC), I had three ready-to-use FreeBSD boxes! Their hostnames are `f0`, `f1` and `f2`! + +[](./f3s-kubernetes-with-freebsd-part-2/f3s-collage2.jpg) + +### Latest patch level and customizing `/etc/hosts` + +After the first boot, I upgraded to the latest FreeBSD patch level as follows: + +```sh +root@f0:~ # freebsd-update fetch +root@f0:~ # freebsd-update install +root@f0:~ # freebsd-update reboot +``` + +I also added the following entries for the three FreeBSD boxes to the `/etc/hosts` file: +```sh +root@f0:~ # cat <<END >>/etc/hosts +192.168.1.130 f0 f0.lan f0.lan.buetow.org +192.168.1.131 f1 f1.lan f1.lan.buetow.org +192.168.1.132 f2 f2.lan f2.lan.buetow.org +END +``` + +### Additional packages after install + +After that, I installed the following additional packages: + +```sh +root@f0:~ # pkg install helix doas zfs-periodic uptimed +``` + +Helix? It's my favourite text editor. I have nothing against `vi` but like `hx` (Helix) more! + +`doas`? It's a pretty neat (and KISS) replacement for `sudo`. It has far fewer features than `sudo`, which is supposed to make it more secure. Its origin is the OpenBSD project. For `doas`, I accepted the default configuration (where users in the `wheel` group are allowed to run commands as `root`): + +```sh +root@f0:~ # cp /usr/local/etc/doas.conf.sample /usr/local/etc/doas.conf +``` + +`zfs-periodic` is a nifty tool for automatically creating ZFS snapshots. I decided to go with the following configuration here: + +```sh +root@f0:~ # sysrc daily_zfs_snapshot_enable=YES +daily_zfs_snapshot_enable: -> YES +root@f0:~ # sysrc daily_zfs_snapshot_pools=zroot +daily_zfs_snapshot_pools: -> zroot +root@f0:~ # sysrc daily_zfs_snapshot_keep=7 +daily_zfs_snapshot_keep: -> 7 +root@f0:~ # sysrc weekly_zfs_snapshot_enable=YES +weekly_zfs_snapshot_enable: -> YES +root@f0:~ # sysrc weekly_zfs_snapshot_pools=zroot +weekly_zfs_snapshot_pools: -> zroot +root@f0:~ # sysrc weekly_zfs_snapshot_keep=5 +weekly_zfs_snapshot_keep: -> 5 +root@f0:~ # sysrc monthly_zfs_snapshot_enable=YES +monthly_zfs_snapshot_enable: -> YES +root@f0:~ # sysrc monthly_zfs_snapshot_pools=zroot +monthly_zfs_snapshot_pools: -> zroot +root@f0:~ # sysrc weekly_zfs_snapshot_keep=2 +weekly_zfs_snapshot_keep: 5 -> 2 +``` + +`uptimed`? I like to track my uptimes. This is how I configured the daemon: + +```sh +root@f0:~ # cp /usr/local/mimecast/etc/uptimed.conf-dist \ + /usr/local/mimecast/etc/uptimed.conf +root@f0:~ # hx /usr/local/mimecast/etc/uptimed.conf +``` + +In the Helix editor session, I changed `LOG_MAXIMUM_ENTRIES` to `0` to keep all uptime entries forever and not cut off at 50 (the default config). After that, I enabled and started `uptimed`: + +```sh +root@f0:~ # service uptimed enable +root@f0:~ # service uptimed start +``` + +To check the current uptime stats, I can now run `uprecords`: + +```sh + root@f0:~ # uprecords + # Uptime | System Boot up +----------------------------+--------------------------------------------------- +-> 1 0 days, 00:07:34 | FreeBSD 14.1-RELEASE Mon Dec 2 12:21:44 2024 +----------------------------+--------------------------------------------------- +NewRec 0 days, 00:07:33 | since Mon Dec 2 12:21:44 2024 + up 0 days, 00:07:34 | since Mon Dec 2 12:21:44 2024 + down 0 days, 00:00:00 | since Mon Dec 2 12:21:44 2024 + %up 100.000 | since Mon Dec 2 12:21:44 2024 +``` + +## Hardware check + +### Ethernet + +Works. Nothing eventful, really. It's a cheap Realtek chip, but it will do what it is supposed to do. + +```sh +paul@f0:~ % ifconfig re0 +re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500 + options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> + ether e8:ff:1e:d7:1c:ac + inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255 + inet6 fe80::eaff:1eff:fed7:1cac%re0 prefixlen 64 scopeid 0x1 + inet6 fd22:c702:acb7:0:eaff:1eff:fed7:1cac prefixlen 64 detached autoconf + inet6 2a01:5a8:304:1d5c:eaff:1eff:fed7:1cac prefixlen 64 autoconf pltime 10800 vltime 14400 + media: Ethernet autoselect (1000baseT <full-duplex>) + status: active + nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> +``` + +### RAM + +All there: + +```sh +paul@f1:~ % sysctl hw.physmem +hw.physmem: 16902905856 + +``` + +### CPUs + +Work: + +```sh +paul@f0:~ % sysctl dev.cpu | grep freq: +dev.cpu.3.freq: 705 +dev.cpu.2.freq: 705 +dev.cpu.1.freq: 604 +dev.cpu.0.freq: 604 +``` + +### CPU throttling + +With `powerd` running, CPU freq is dowthrottled when the box isn't jam-packed. To stress it a bit, I run `ubench` to see the frequencies being unthrottled again: + +```sh +paul@f0:~ % doas pkg install ubench +paul@f0:~ % rehash # For tcsh to find the newly installed command +paul@f0:~ % ubench & +paul@f0:~ % sysctl dev.cpu | grep freq: +dev.cpu.3.freq: 2922 +dev.cpu.2.freq: 2922 +dev.cpu.1.freq: 2923 +dev.cpu.0.freq: 2922 +``` + +Idle, all three Beelinks plus the switch consumed 26.2W. But with `ubench` stressing all the CPUs, it went up to 38.8W. + +[](./f3s-kubernetes-with-freebsd-part-2/watt.jpg) + +## Conclusion + +The Beelink S12 Pro with Intel N100 CPUs checks all the boxes for a k3s project: compact, efficient, expandable, and affordable. Its compatibility with both Linux and FreeBSD makes it versatile for other use cases, whether as part of your cluster or as a standalone system. If you’re looking for hardware that punches above its weight for Kubernetes, this little device deserves a spot on your shortlist. + +[](./f3s-kubernetes-with-freebsd-part-2/3beelinks.jpg) + +To ease cable management, I need to get shorter Ethernet cables. I will place the tower on my shelf, where most of the cables will be hidden (together with a UPS, which will also be added to the setup). + +What will be covered in the next post of this series? The bhyve/Rocky Linux and WireGuard setup as described in part 1 of this series. + +Other *BSD-related posts: + +[2016-04-09 Jails and ZFS with Puppet on FreeBSD](./2016-04-09-jails-and-zfs-on-freebsd-with-puppet.md) +[2022-07-30 Let's Encrypt with OpenBSD and Rex](./2022-07-30-lets-encrypt-with-openbsd-and-rex.md) +[2022-10-30 Installing DTail on OpenBSD](./2022-10-30-installing-dtail-on-openbsd.md) +[2024-01-13 One reason why I love OpenBSD](./2024-01-13-one-reason-why-i-love-openbsd.md) +[2024-04-01 KISS high-availability with OpenBSD](./2024-04-01-KISS-high-availability-with-OpenBSD.md) +[2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation (You are currently reading this)](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) + +E-Mail your comments to `paul@nospam.buetow.org` :-) + +[Back to the main site](../) diff --git a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-hardware-setup.md b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-hardware-setup.md index 707c3598..4a1b3422 100644 --- a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-hardware-setup.md +++ b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-hardware-setup.md @@ -7,6 +7,7 @@ This is the second blog post about my f3s series for my self-hosting demands in I will post a new entry every month or so (there are too many other side projects for more frequent updates—I bet you can understand). [2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) [](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) @@ -33,6 +34,7 @@ Other *BSD-related posts: [2024-01-13 One reason why I love OpenBSD](./2024-01-13-one-reason-why-i-love-openbsd.md) [2024-04-01 KISS high-availability with OpenBSD](./2024-04-01-KISS-high-availability-with-OpenBSD.md) [2024-11-17 f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) +[2024-12-03 f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) E-Mail your comments to `paul@nospam.buetow.org` :-) diff --git a/gemfeed/f3s-kubernetes-with-freebsd-part-2/3beelinks.jpg b/gemfeed/f3s-kubernetes-with-freebsd-part-2/3beelinks.jpg Binary files differnew file mode 100644 index 00000000..7da37da7 --- /dev/null +++ b/gemfeed/f3s-kubernetes-with-freebsd-part-2/3beelinks.jpg diff --git a/gemfeed/f3s-kubernetes-with-freebsd-part-2/f3s-collage1.jpg b/gemfeed/f3s-kubernetes-with-freebsd-part-2/f3s-collage1.jpg Binary files differnew file mode 100644 index 00000000..294eb37d --- /dev/null +++ b/gemfeed/f3s-kubernetes-with-freebsd-part-2/f3s-collage1.jpg diff --git a/gemfeed/f3s-kubernetes-with-freebsd-part-2/f3s-collage2.jpg b/gemfeed/f3s-kubernetes-with-freebsd-part-2/f3s-collage2.jpg Binary files differnew file mode 100644 index 00000000..77c4c0bc --- /dev/null +++ b/gemfeed/f3s-kubernetes-with-freebsd-part-2/f3s-collage2.jpg diff --git a/gemfeed/f3s-kubernetes-with-freebsd-part-2/switch.jpg b/gemfeed/f3s-kubernetes-with-freebsd-part-2/switch.jpg Binary files differnew file mode 100644 index 00000000..8fe0edeb --- /dev/null +++ b/gemfeed/f3s-kubernetes-with-freebsd-part-2/switch.jpg diff --git a/gemfeed/f3s-kubernetes-with-freebsd-part-2/watt.jpg b/gemfeed/f3s-kubernetes-with-freebsd-part-2/watt.jpg Binary files differnew file mode 100644 index 00000000..e79fe68c --- /dev/null +++ b/gemfeed/f3s-kubernetes-with-freebsd-part-2/watt.jpg diff --git a/gemfeed/index.md b/gemfeed/index.md index 37c8aefa..eaab8e5e 100644 --- a/gemfeed/index.md +++ b/gemfeed/index.md @@ -2,6 +2,7 @@ ## To be in the .zone! +[2024-12-03 - f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) [2024-11-17 - f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) [2024-10-24 - 'Staff Engineer' book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-10-02 - Gemtexter 3.0.0 - Let's Gemtext again⁴](./2024-10-02-gemtexter-3.0.0-lets-gemtext-again-4.md) @@ -1,6 +1,6 @@ # foo.zone -> This site was generated at 2024-12-01T14:17:17+02:00 by `Gemtexter` +> This site was generated at 2024-12-02T23:46:16+02:00 by `Gemtexter` Welcome to the foo.zone. Everything you read on this site is my personal opinion and experience. You can call me a Linux/*BSD enthusiast and hobbyist. I mainly write about tech, IT, programming and sometimes also about self-improvement here. Note that this blog usually does not overlap with what I do at my day job as a Site Reliability Engineer. @@ -28,6 +28,7 @@ Welcome to the foo.zone. Everything you read on this site is my personal opinion ### Posts +[2024-12-03 - f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md) [2024-11-17 - f3s: Kubernetes with FreeBSD - Part 1: Setting the stage](./gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.md) [2024-10-24 - 'Staff Engineer' book notes](./gemfeed/2024-10-24-staff-engineer-book-notes.md) [2024-10-02 - Gemtexter 3.0.0 - Let's Gemtext again⁴](./gemfeed/2024-10-02-gemtexter-3.0.0-lets-gemtext-again-4.md) diff --git a/uptime-stats.md b/uptime-stats.md index 6dd253ed..69e59f79 100644 --- a/uptime-stats.md +++ b/uptime-stats.md @@ -1,6 +1,6 @@ # My machine uptime stats -> This site was last updated at 2024-12-01T14:17:17+02:00 +> This site was last updated at 2024-12-02T23:46:16+02:00 The following stats were collected via `uptimed` on all of my personal computers over many years and the output was generated by `guprecords`, the global uptime records stats analyser of mine. |
