diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-13 16:49:45 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-13 16:49:45 +0300 |
| commit | ec274d473332eceb14f626a56907404c42e9f971 (patch) | |
| tree | 02a26bd4afe974b2a24f6eca7027b6e06824fdbf | |
| parent | b8be6832b19af8b4b506278d4452a71f9d13c5d5 (diff) | |
Update content for md
| -rw-r--r-- | about/resources.md | 200 | ||||
| -rw-r--r-- | gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.md | 1 | ||||
| -rw-r--r-- | gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.md | 1 | ||||
| -rw-r--r-- | gemfeed/2024-01-13-one-reason-why-i-love-openbsd.md | 1 | ||||
| -rw-r--r-- | gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md | 1 | ||||
| -rw-r--r-- | gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.md | 2 | ||||
| -rw-r--r-- | gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md | 2 | ||||
| -rw-r--r-- | gemfeed/2025-02-01-f3s-kubernetes-with-freebsd-part-3.md | 2 | ||||
| -rw-r--r-- | gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.md | 2 | ||||
| -rw-r--r-- | gemfeed/2025-05-11-f3s-kubernetes-with-freebsd-part-5.md | 6 | ||||
| -rw-r--r-- | gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.md | 1610 | ||||
| -rw-r--r-- | gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.md | 2702 | ||||
| -rw-r--r-- | gemfeed/f3s-kubernetes-with-freebsd-part-6/zrepl.png | bin | 0 -> 166760 bytes | |||
| -rw-r--r-- | gemfeed/index.md | 1 | ||||
| -rw-r--r-- | index.md | 3 | ||||
| -rw-r--r-- | uptime-stats.md | 32 |
16 files changed, 1746 insertions, 2820 deletions
diff --git a/about/resources.md b/about/resources.md index 19bad06e..0fabb703 100644 --- a/about/resources.md +++ b/about/resources.md @@ -35,105 +35,105 @@ You won't find any links on this site because, over time, the links will break. In random order: -* Modern Perl; Chromatic ; Onyx Neon Press -* Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers -* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner -* Effective awk programming; Arnold Robbins; O'Reilly +* Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt +* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly +* Perl New Features; Joshua McAdams, brian d foy; Perl School * 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly -* DNS and BIND; Cricket Liu; O'Reilly -* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly -* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly -* Data Science at the Command Line; Jeroen Janssens; O'Reilly +* Site Reliability Engineering; How Google runs production systems; O'Reilly +* Ultimate Go Notebook; Bill Kennedy +* The Pragmatic Programmer; David Thomas; Addison-Wesley +* Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf +* Java ist auch eine Insel; Christian Ullenboom; * Concurrency in Go; Katherine Cox-Buday; O'Reilly -* Perl New Features; Joshua McAdams, brian d foy; Perl School +* The Docker Book; James Turnbull; Kindle +* Leanring eBPF; Liz Rice; O'Reilly * The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton -* Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf -* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible +* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications +* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly +* C++ Programming Language; Bjarne Stroustrup; * Pro Puppet; James Turnbull, Jeffrey McCune; Apress -* Raku Fundamentals; Moritz Lenz; Apress -* Ultimate Go Notebook; Bill Kennedy -* Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt -* Leanring eBPF; Liz Rice; O'Reilly -* Higher Order Perl; Mark Dominus; Morgan Kaufmann +* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly +* Effective Java; Joshua Bloch; Addison-Wesley Professional +* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers +* Developing Games in Java; David Brackeen and others...; New Riders +* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly +* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible +* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook +* Terraform Cookbook; Mikael Krief; Packt Publishing +* Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers * Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly +* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly * Polished Ruby Programming; Jeremy Evans; Packt Publishing -* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press +* DNS and BIND; Cricket Liu; O'Reilly +* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional * Systemprogrammierung in Go; Frank Müller; dpunkt -* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible -* The Docker Book; James Turnbull; Kindle -* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook -* The Pragmatic Programmer; David Thomas; Addison-Wesley * Funktionale Programmierung; Peter Pepper; Springer -* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly -* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly -* Terraform Cookbook; Mikael Krief; Packt Publishing -* Site Reliability Engineering; How Google runs production systems; O'Reilly -* C++ Programming Language; Bjarne Stroustrup; +* Effective awk programming; Arnold Robbins; O'Reilly +* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson * 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 -* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications -* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly +* Raku Fundamentals; Moritz Lenz; Apress +* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications +* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press +* Data Science at the Command Line; Jeroen Janssens; O'Reilly +* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner +* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible * Raku Recipes; J.J. Merelo; Apress +* Higher Order Perl; Mark Dominus; Morgan Kaufmann * Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press -* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson -* Effective Java; Joshua Bloch; Addison-Wesley Professional -* Java ist auch eine Insel; Christian Ullenboom; -* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers -* Developing Games in Java; David Brackeen and others...; New Riders -* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional -* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications +* Modern Perl; Chromatic ; Onyx Neon Press ## 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: -* BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley -* Implementing Service Level Objectives; Alex Hidalgo; O'Reilly * The Linux Programming Interface; Michael Kerrisk; No Starch Press +* BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley +* Relayd and Httpd Mastery; Michael W Lucas * Go: Design Patterns for Real-World Projects; Mat Ryer; Packt +* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly +* Implementing Service Level Objectives; Alex Hidalgo; O'Reilly * Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly -* Relayd and Httpd Mastery; Michael W Lucas * Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley -* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly ## Self-development and soft-skills books In random order: -* So Good They Can't Ignore You; Cal Newport; Business Plus -* Stop starting, start finishing; Arne Roock; Lean-Kanban University -* Psycho-Cybernetics; Maxwell Maltz; Perigee Books -* Influence without Authority; A. Cohen, D. Bradford; Wiley -* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook -* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion +* Eat That Frog; Brian Tracy +* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne * Ultralearning; Anna Laurent; Self-published via Amazon -* Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook -* Deep Work; Cal Newport; Piatkus +* The Joy of Missing Out; Christina Crook; New Society Publishers * Meditation for Mortals, Oliver Burkeman, Audiobook -* The Bullet Journal Method; Ryder Carroll; Fourth Estate -* Coders at Work - Reflections on the craft of programming, Peter Seibel and Mitchell Dorian et al., Audiobook -* Atomic Habits; James Clear; Random House Business +* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business +* The Power of Now; Eckhard Tolle; Yellow Kite +* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK +* Deep Work; Cal Newport; Piatkus +* Getting Things Done; David Allen +* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook * The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd -* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly +* The Good Enough Job; Simone Stolzoff; Ebury Edge * Soft Skills; John Sommez; Manning Publications +* So Good They Can't Ignore You; Cal Newport; Business Plus +* The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME) +* Eat That Frog!; Brian Tracy; Hodder Paperbacks +* Solve for Happy; Mo Gawdat (RE-READ 1ST TIME) +* 101 Essays that change the way you think; Brianna Wiest; Audiobook +* Atomic Habits; James Clear; Random House Business +* Digital Minimalism; Cal Newport; Portofolio Penguin * Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press -* Getting Things Done; David Allen +* Psycho-Cybernetics; Maxwell Maltz; Perigee Books +* Ultralearning; Scott Young; Thorsons * Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing -* Eat That Frog; Brian Tracy -* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK -* The Good Enough Job; Simone Stolzoff; Ebury Edge -* Digital Minimalism; Cal Newport; Portofolio Penguin -* Eat That Frog!; Brian Tracy; Hodder Paperbacks +* Influence without Authority; A. Cohen, D. Bradford; Wiley +* Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook +* Coders at Work - Reflections on the craft of programming, Peter Seibel and Mitchell Dorian et al., Audiobook +* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion * The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books -* The Joy of Missing Out; Christina Crook; New Society Publishers -* The Power of Now; Eckhard Tolle; Yellow Kite -* The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME) -* Slow Productivity; Cal Newport; Penguin Random House +* Stop starting, start finishing; Arne Roock; Lean-Kanban University +* The Bullet Journal Method; Ryder Carroll; Fourth Estate +* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly * The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select -* Solve for Happy; Mo Gawdat (RE-READ 1ST TIME) -* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne -* Ultralearning; Scott Young; Thorsons -* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business -* 101 Essays that change the way you think; Brianna Wiest; Audiobook +* Slow Productivity; Cal Newport; Penguin Random House [Here are notes of mine for some of the books](../notes/index.md) @@ -141,30 +141,30 @@ In random order: Some of these were in-person with exams; others were online learning lectures only. In random order: -* Apache Tomcat Best Practises; 3-day on-site training -* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training -* Ultimate Go Programming; Bill Kennedy; 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) -* AWS Immersion Day; Amazon; 1-day interactive online training -* F5 Loadbalancers Training; 2-day on-site training; F5, Inc. * Protocol buffers; O'Reilly Online +* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online +* Ultimate Go Programming; Bill Kennedy; O'Reilly Online * Functional programming lecture; Remote University of Hagen -* Structure and Interpretation of Computer Programs; Harold Abelson and more...; -* Developing IaC with Terraform (with Live Lessons); O'Reilly Online * The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online +* MySQL Deep Dive Workshop; 2-day on-site training +* AWS Immersion Day; Amazon; 1-day interactive online training +* Algorithms Video Lectures; Robert Sedgewick; 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) +* F5 Loadbalancers Training; 2-day on-site training; F5, Inc. * Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon +* Apache Tomcat Best Practises; 3-day on-site training +* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training +* Structure and Interpretation of Computer Programs; Harold Abelson and more...; * Scripting Vim; Damian Conway; O'Reilly Online -* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online -* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online -* MySQL Deep Dive Workshop; 2-day on-site training +* Developing IaC with Terraform (with Live Lessons); O'Reilly Online ## Technical guides These are not whole books, but guides (smaller or larger) which I found very useful. in random order: -* Raku Guide at https://raku.guide * Advanced Bash-Scripting Guide * How CPUs work at https://cpu.land +* Raku Guide at https://raku.guide ## Podcasts @@ -172,57 +172,57 @@ These are not whole books, but guides (smaller or larger) which I found very use In random order: -* BSD Now [BSD] -* Modern Mentor -* Hidden Brain -* Backend Banter -* The Pragmatic Engineer Podcast -* Fork Around And Find Out * Fallthrough [Golang] * The Changelog Podcast(s) +* Backend Banter +* BSD Now [BSD] +* Dev Interrupted +* Fork Around And Find Out +* Modern Mentor * Cup o' Go [Golang] -* The ProdCast (Google SRE Podcast) +* Pratical AI * Maintainable +* Hidden Brain +* The ProdCast (Google SRE Podcast) * Deep Questions with Cal Newport -* Pratical AI -* Dev Interrupted +* The Pragmatic Engineer Podcast ### 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. -* Java Pub House -* Ship It (predecessor of Fork Around And Find Out) -* Go Time (predecessor of fallthrough) -* FLOSS weekly * CRE: Chaosradio Express [german] +* FLOSS weekly * Modern Mentor +* Ship It (predecessor of Fork Around And Find Out) +* Java Pub House +* Go Time (predecessor of fallthrough) ## Newsletters I like This is a mix of tech and non-tech newsletters I am subscribed to. In random order: +* Monospace Mentor +* The Imperfectionist +* Ruby Weekly * The Pragmatic Engineer -* Register Spill +* Golang Weekly * Andreas Brandhorst Newsletter (Sci-Fi author) -* The Imperfectionist +* Applied Go Weekly Newsletter +* byteSizeGo * The Valuable Dev -* Monospace Mentor * VK Newsletter +* Register Spill * Changelog News -* Golang Weekly -* Ruby Weekly -* byteSizeGo -* Applied Go Weekly Newsletter ## Magazines I like(d) This is a mix of tech I like(d). I may not be a current subscriber, but now and then, I buy an issue. In random order: -* LWN (online only) -* Linux Magazine * Linux User * freeX (not published anymore) +* Linux Magazine +* LWN (online only) # 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 4b609bc8..f2735c9a 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 @@ -397,6 +397,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other *BSD related posts are: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) 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 8234a0e5..f70661ff 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 @@ -676,6 +676,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other *BSD related posts are: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) 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 a6fdfb1c..aa53d5fa 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 @@ -51,6 +51,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other *BSD related posts are: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) 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 de244403..adf3ef55 100644 --- a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md +++ b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md @@ -300,6 +300,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other *BSD and KISS related posts are: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) 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 0847feb6..05ba7e53 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 @@ -13,6 +13,7 @@ These are all the posts so far: [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) @@ -161,6 +162,7 @@ Read the next post of this series: Other *BSD-related posts: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) 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 index a63558ce..1b10965a 100644 --- a/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md +++ b/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md @@ -13,6 +13,7 @@ These are all the posts so far: [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) @@ -300,6 +301,7 @@ Read the next post of this series: Other *BSD-related posts: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) diff --git a/gemfeed/2025-02-01-f3s-kubernetes-with-freebsd-part-3.md b/gemfeed/2025-02-01-f3s-kubernetes-with-freebsd-part-3.md index b1b44830..f11a637f 100644 --- a/gemfeed/2025-02-01-f3s-kubernetes-with-freebsd-part-3.md +++ b/gemfeed/2025-02-01-f3s-kubernetes-with-freebsd-part-3.md @@ -9,6 +9,7 @@ This is the third blog post about my f3s series for my self-hosting demands in m [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts (You are currently reading this)](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) @@ -363,6 +364,7 @@ Read the next post of this series: Other BSD related posts are: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts (You are currently reading this)](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) diff --git a/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.md b/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.md index 53f10a57..9a80f5fe 100644 --- a/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.md +++ b/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.md @@ -9,6 +9,7 @@ This is the fourth blog post about the f3s series for self-hosting demands in a [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs (You are currently reading this)](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) @@ -509,6 +510,7 @@ Read the next post of this series: Other *BSD-related posts: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs (You are currently reading this)](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) diff --git a/gemfeed/2025-05-11-f3s-kubernetes-with-freebsd-part-5.md b/gemfeed/2025-05-11-f3s-kubernetes-with-freebsd-part-5.md index 034b3fe8..1dca3454 100644 --- a/gemfeed/2025-05-11-f3s-kubernetes-with-freebsd-part-5.md +++ b/gemfeed/2025-05-11-f3s-kubernetes-with-freebsd-part-5.md @@ -13,6 +13,7 @@ These are all the posts so far: [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network (You are currently reading this)](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) @@ -924,10 +925,13 @@ peer: 2htXdNcxzpI2FdPDJy4T4VGtm1wpMEQu1AkQHjNY6F8= Having a mesh network on our hosts is great for securing all the traffic between them for our future k3s setup. A self-managed WireGuard mesh network is better than Tailscale as it eliminates reliance on a third party and provides full control over the configuration. It reduces unnecessary abstraction and "magic," enabling easier debugging and ensuring full ownership of our network. -I look forward to the next blog post in this series. We may start setting up k3s or take a first look at the NFS server (for persistent storage) side of things. I hope you liked all the posts so far in this series. +Read the next post of this series: + +[f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) Other *BSD-related posts: +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) [2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network (You are currently reading this)](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) [2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) diff --git a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.md b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.md new file mode 100644 index 00000000..87a4f63c --- /dev/null +++ b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.md @@ -0,0 +1,1610 @@ +# f3s: Kubernetes with FreeBSD - Part 6: Storage + +> Published at 2025-07-13T16:44:29+03:00 + +This is the sixth blog post about the f3s series for self-hosting demands in a home lab. f3s? The "f" stands for FreeBSD, and the "3s" stands for k3s, the Kubernetes distribution used on FreeBSD-based physical machines. + +[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) +[2025-02-01 f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md) +[2025-04-05 f3s: Kubernetes with FreeBSD - Part 4: Rocky Linux Bhyve VMs](./2025-04-05-f3s-kubernetes-with-freebsd-part-4.md) +[2025-05-11 f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) +[2025-07-14 f3s: Kubernetes with FreeBSD - Part 6: Storage (You are currently reading this)](./2025-07-14-f3s-kubernetes-with-freebsd-part-6.md) + +[](./f3s-kubernetes-with-freebsd-part-1/f3slogo.png) + +## Table of Contents + +* [⇢ f3s: Kubernetes with FreeBSD - Part 6: Storage](#f3s-kubernetes-with-freebsd---part-6-storage) +* [⇢ ⇢ Introduction](#introduction) +* [⇢ ⇢ Additional storage capacity](#additional-storage-capacity) +* [⇢ ⇢ ZFS encryption keys](#zfs-encryption-keys) +* [⇢ ⇢ ⇢ UFS on USB keys](#ufs-on-usb-keys) +* [⇢ ⇢ ⇢ Generating encryption keys](#generating-encryption-keys) +* [⇢ ⇢ ⇢ Configuring `zdata` ZFS pool encryption](#configuring-zdata-zfs-pool-encryption) +* [⇢ ⇢ ⇢ Migrating Bhyve VMs to an encrypted `bhyve` ZFS volume](#migrating-bhyve-vms-to-an-encrypted-bhyve-zfs-volume) +* [⇢ ⇢ ZFS Replication with `zrepl`](#zfs-replication-with-zrepl) +* [⇢ ⇢ ⇢ Understanding Replication Requirements](#understanding-replication-requirements) +* [⇢ ⇢ ⇢ Installing `zrepl`](#installing-zrepl) +* [⇢ ⇢ ⇢ Configuring `zrepl` on `f1` (sink)](#configuring-zrepl-on-f1-sink) +* [⇢ ⇢ ⇢ Enabling and starting `zrepl` services](#enabling-and-starting-zrepl-services) +* [⇢ ⇢ ⇢ Monitoring replication](#monitoring-replication) +* [⇢ ⇢ ⇢ Verifying replication after reboot](#verifying-replication-after-reboot) +* [⇢ ⇢ ⇢ Understanding Failover Limitations and Design Decisions](#understanding-failover-limitations-and-design-decisions) +* [⇢ ⇢ ⇢ Mounting the NFS datasets](#mounting-the-nfs-datasets) +* [⇢ ⇢ ⇢ Troubleshooting: Files not appearing in replication](#troubleshooting-files-not-appearing-in-replication) +* [⇢ ⇢ ⇢ Configuring automatic key loading on boot](#configuring-automatic-key-loading-on-boot) +* [⇢ ⇢ CARP (Common Address Redundancy Protocol)](#carp-common-address-redundancy-protocol) +* [⇢ ⇢ ⇢ How CARP Works](#how-carp-works) +* [⇢ ⇢ ⇢ Configuring CARP](#configuring-carp) +* [⇢ ⇢ ⇢ CARP State Change Notifications](#carp-state-change-notifications) +* [⇢ ⇢ NFS Server Configuration](#nfs-server-configuration) +* [⇢ ⇢ ⇢ Setting up NFS on `f0` (Primary)](#setting-up-nfs-on-f0-primary) +* [⇢ ⇢ ⇢ Configuring Stunnel for NFS Encryption with CARP Failover](#configuring-stunnel-for-nfs-encryption-with-carp-failover) +* [⇢ ⇢ ⇢ Creating a Certificate Authority for Client Authentication](#creating-a-certificate-authority-for-client-authentication) +* [⇢ ⇢ ⇢ Install and Configure Stunnel on `f0`](#install-and-configure-stunnel-on-f0) +* [⇢ ⇢ ⇢ Setting up NFS on `f1` (Standby)](#setting-up-nfs-on-f1-standby) +* [⇢ ⇢ ⇢ CARP Control Script for Clean Failover](#carp-control-script-for-clean-failover) +* [⇢ ⇢ ⇢ CARP Management Script](#carp-management-script) +* [⇢ ⇢ ⇢ Automatic Failback After Reboot](#automatic-failback-after-reboot) +* [⇢ ⇢ Client Configuration for Stunnel](#client-configuration-for-stunnel) +* [⇢ ⇢ ⇢ Configuring Rocky Linux Clients (`r0`, `r1`, `r2`)](#configuring-rocky-linux-clients-r0-r1-r2) +* [⇢ ⇢ ⇢ Testing NFS Mount with Stunnel](#testing-nfs-mount-with-stunnel) +* [⇢ ⇢ ⇢ Testing CARP Failover with mounted clients and stale file handles:](#testing-carp-failover-with-mounted-clients-and-stale-file-handles) +* [⇢ ⇢ ⇢ Complete Failover Test](#complete-failover-test) +* [⇢ ⇢ Conclusion](#conclusion) +* [⇢ ⇢ Future Storage Explorations](#future-storage-explorations) +* [⇢ ⇢ ⇢ MinIO for S3-Compatible Object Storage](#minio-for-s3-compatible-object-storage) +* [⇢ ⇢ ⇢ MooseFS for Distributed High Availability](#moosefs-for-distributed-high-availability) + +## Introduction + +In the previous posts, we set up a FreeBSD-based Kubernetes cluster using k3s. While the base system works well, Kubernetes workloads often require persistent storage for databases, configuration files, and application data. Local storage on each node has significant limitations: + +* No data sharing: Pods (once we run Kubernetes) on different nodes can't access the same data +* Pod mobility: If a pod moves to another node, it loses access to its data +* No redundancy: Hardware failure means data loss + +This post implements a robust storage solution using: + +* CARP: For high availability with automatic IP failover +* NFS over stunnel: For secure, encrypted network storage +* ZFS: For data integrity, encryption, and efficient snapshots +* `zrepl`: For continuous ZFS replication between nodes + +The result is a highly available, encrypted storage system that survives node failures while providing shared storage to all Kubernetes pods. + +Other than what was mentioned in the first post of this blog series, we aren't using HAST, but `zrepl` for data replication. Read more about it later in this blog post. + +## Additional storage capacity + +We add 1 TB of additional storage to each of the nodes (`f0`, `f1`, `f2`) in the form of an SSD drive. The Beelink mini PCs have enough space in the chassis for the extra space. + +[](./f3s-kubernetes-with-freebsd-part-6/drives.jpg) + +Upgrading the storage was as easy as unscrewing, plugging the drive in, and then screwing it back together again. The procedure was uneventful! We're using two different SSD models (Samsung 870 EVO and Crucial BX500) to avoid simultaneous failures from the same manufacturing batch. + +We then create the `zdata` ZFS pool on all three nodes: + +```sh +paul@f0:~ % doas zpool create -m /data zdata /dev/ada1 +paul@f0:~ % zpool list +NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT +zdata 928G 12.1M 928G - - 0% 0% 1.00x ONLINE - +zroot 472G 29.0G 443G - - 0% 6% 1.00x ONLINE - + +paul@f0:/ % doas camcontrol devlist +<512GB SSD D910R170> at scbus0 target 0 lun 0 (pass0,ada0) +<Samsung SSD 870 EVO 1TB SVT03B6Q> at scbus1 target 0 lun 0 (pass1,ada1) +paul@f0:/ % +``` + +To verify that we have a different SSD on the second node (the third node has the same drive as the first): + +```sh +paul@f1:/ % doas camcontrol devlist +<512GB SSD D910R170> at scbus0 target 0 lun 0 (pass0,ada0) +<CT1000BX500SSD1 M6CR072> at scbus1 target 0 lun 0 (pass1,ada1) +``` + +## ZFS encryption keys + +ZFS native encryption requires encryption keys to unlock datasets. We need a secure method to store these keys that balances security with operational needs: + +* Security: Keys must not be stored on the same disks they encrypt +* Availability: Keys must be available at boot for automatic mounting +* Portability: Keys should be easily moved between systems for recovery + +Using USB flash drives as hardware key storage provides a convenient and elegant solution. The encrypted data is unreadable without physical access to the USB key, protecting against disk theft or improper disposal. In production environments, you may use enterprise key management systems; however, for a home lab, USB keys offer good security with minimal complexity. + +### UFS on USB keys + +We'll format the USB drives with UFS (Unix File System) rather than ZFS for simplicity. There is no need to use ZFS. + +Let's see the USB keys: + +[](./f3s-kubernetes-with-freebsd-part-6/usbkeys1.jpg) + +To verify that the USB key (flash disk) is there: + +``` +paul@f0:/ % doas camcontrol devlist +<512GB SSD D910R170> at scbus0 target 0 lun 0 (pass0,ada0) +<Samsung SSD 870 EVO 1TB SVT03B6Q> at scbus1 target 0 lun 0 (pass1,ada1) +<Generic Flash Disk 8.07> at scbus2 target 0 lun 0 (da0,pass2) +paul@f0:/ % +``` + +Let's create the UFS file system and mount it (done on all three nodes `f0`, `f1` and `f2`): + |
