Funktionale Programmierung; Peter Pepper; Springer
-
Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press
-
The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional
-
Raku Fundamentals; Moritz Lenz; Apress
-
Raku Recipes; J.J. Merelo; Apress
-
Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner
-
Polished Ruby Programming; Jeremy Evans; Packt Publishing
-
Modern Perl; Chromatic ; Onyx Neon Press
-
Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers
-
Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson
-
DNS and BIND; Cricket Liu; O'Reilly
-
100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications
-
Effective awk programming; Arnold Robbins; 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
Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly
-
Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf
-
Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications
-
The Docker Book; James Turnbull; Kindle
-
Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly
The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible
-
Data Science at the Command Line; Jeroen Janssens; O'Reilly
-
Seeking SRE: Conversations About Running Production Systems at Scale; David N. Blank-Edelman; eBook
+
Effective awk programming; Arnold Robbins; O'Reilly
+
Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly
+
Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers
+
Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt
+
Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf
+
Leanring eBPF; Liz Rice; O'Reilly
+
97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly
Effective Java; Joshua Bloch; Addison-Wesley Professional
-
Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; 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
+
Raku Fundamentals; Moritz Lenz; Apress
+
C++ Programming Language; Bjarne Stroustrup;
+
The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional
+
100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications
+
Java ist auch eine Insel; Christian Ullenboom;
+
Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers
Ultimate Go Notebook; Bill Kennedy
-
Perl New Features; Joshua McAdams, brian d foy; Perl School
-
Higher Order Perl; Mark Dominus; Morgan Kaufmann
-
Chaos Engineering - System Resiliency in Practice; Casey Rosenthal and Nora Jones; eBook
-
Terraform Cookbook; Mikael Krief; Packt Publishing
-
Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly
-
Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly
-
The Pragmatic Programmer; David Thomas; Addison-Wesley
Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press
-
Developing Games in Java; David Brackeen and others...; New Riders
+
Data Science at the Command Line; Jeroen Janssens; O'Reilly
+
Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson
DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible
+
Chaos Engineering - System Resiliency in Practice; Casey Rosenthal and Nora Jones; eBook
+
Developing Games in Java; David Brackeen and others...; New Riders
+
Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly
+
Raku Recipes; J.J. Merelo; Apress
Site Reliability Engineering; How Google runs production systems; O'Reilly
-
97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly
+
The Docker Book; James Turnbull; Kindle
+
Seeking SRE: Conversations About Running Production Systems at Scale; David N. Blank-Edelman; eBook
+
Polished Ruby Programming; Jeremy Evans; Packt Publishing
+
Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications
Pro Puppet; James Turnbull, Jeffrey McCune; Apress
-
Java ist auch eine Insel; Christian Ullenboom;
+
Systemprogrammierung in Go; Frank Müller; dpunkt
+
Terraform Cookbook; Mikael Krief; Packt Publishing
+
Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner
+
Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly
+
Higher Order Perl; Mark Dominus; Morgan Kaufmann
+
Perl New Features; Joshua McAdams, brian d foy; Perl School
+
Funktionale Programmierung; Peter Pepper; Springer
+
Modern Perl; Chromatic ; Onyx Neon Press
Concurrency in Go; Katherine Cox-Buday; O'Reilly
-
Leanring eBPF; Liz Rice; O'Reilly
-
Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers
The Kubernetes Book; Nigel Poulton; Unabridged Audiobook
-
C++ Programming Language; Bjarne Stroustrup;
-
The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton
-
Systemprogrammierung in Go; Frank Müller; dpunkt
-
Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt
+
DNS and BIND; Cricket Liu; O'Reilly
21st Century C: C Tips from the New School; Ben Klemens; O'Reilly
+
Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly
+
The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton
+
The Pragmatic Programmer; David Thomas; Addison-Wesley
+
Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch 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:
+
Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly
Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley
-
Go: Design Patterns for Real-World Projects; Mat Ryer; Packt
+
Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly
The Linux Programming Interface; Michael Kerrisk; No Starch Press
-
Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly
Relayd and Httpd Mastery; Michael W Lucas
BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley
-
Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly
+
Go: Design Patterns for Real-World Projects; Mat Ryer; Packt
Implementing Service Level Objectives; Alex Hidalgo; O'Reilly
Self-development and soft-skills books
@@ -118,44 +118,44 @@
In random order:
-
The Software Engineer's Guidebook: Navigating senior, tech lead, and staff engineer positions at tech companies and startups; Gergely Orosz; Audiobook
-
Psycho-Cybernetics; Maxwell Maltz; Perigee Books
Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook
-
The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
-
Eat That Frog; Brian Tracy
-
The Bullet Journal Method; Ryder Carroll; Fourth Estate
-
Slow Productivity; Cal Newport; Penguin Random House
+
Soft Skills; John Sommez; Manning Publications
+
Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press
+
Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing
Coders at Work - Reflections on the craft of programming, Peter Seibel and Mitchell Dorian et al., Audiobook
-
The Good Enough Job; Simone Stolzoff; Ebury Edge
-
Eat That Frog!; Brian Tracy; Hodder Paperbacks
-
The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd
97 Things Every Engineering Manager Should Know; Camille Fournier; Audiobook
-
The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME)
+
The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select
+
101 Essays that change the way you think; Brianna Wiest; Audiobook
+
Psycho-Cybernetics; Maxwell Maltz; Perigee Books
The Power of Now; Eckhard Tolle; Yellow Kite
-
Soft Skills; John Sommez; Manning Publications
-
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
+
Ultralearning; Anna Laurent; Self-published via Amazon
Solve for Happy; Mo Gawdat (RE-READ 1ST TIME)
-
The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select
-
The Courage to Be Disliked; Ichiro Kishimi and Fumitake Koga; Audiobook
-
Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press
+
The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books
Atomic Habits; James Clear; Random House Business
-
Never Split the Difference; Chris Voss, Tahl Raz; Random House Business
-
Getting Things Done; David Allen
So Good They Can't Ignore You; Cal Newport; Business Plus
-
Ultralearning; Anna Laurent; Self-published via Amazon
-
The Joy of Missing Out; Christina Crook; New Society Publishers
-
Digital Minimalism; Cal Newport; Portofolio Penguin
-
Ultralearning; Scott Young; Thorsons
-
Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
-
101 Essays that change the way you think; Brianna Wiest; Audiobook
-
Influence without Authority; A. Cohen, D. Bradford; Wiley
Stop starting, start finishing; Arne Roock; Lean-Kanban University
+
Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne
+
The Joy of Missing Out; Christina Crook; New Society Publishers
The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK
+
Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
+
The Good Enough Job; Simone Stolzoff; Ebury Edge
+
Ultralearning; Scott Young; Thorsons
+
Digital Minimalism; Cal Newport; Portofolio Penguin
+
The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd
+
The Software Engineer's Guidebook: Navigating senior, tech lead, and staff engineer positions at tech companies and startups; Gergely Orosz; Audiobook
Deep Work; Cal Newport; Piatkus
-
The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books
-
Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing
-
Meditation for Mortals, Oliver Burkeman, Audiobook
+
Eat That Frog; Brian Tracy
+
The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME)
Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly
+
Eat That Frog!; Brian Tracy; Hodder Paperbacks
+
Getting Things Done; David Allen
+
The Bullet Journal Method; Ryder Carroll; Fourth Estate
+
The Courage to Be Disliked; Ichiro Kishimi and Fumitake Koga; Audiobook
+
Never Split the Difference; Chris Voss, Tahl Raz; Random House Business
+
The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
+
Meditation for Mortals, Oliver Burkeman, Audiobook
+
Slow Productivity; Cal Newport; Penguin Random House
Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online
-
MySQL Deep Dive Workshop; 2-day on-site training
-
AWS Immersion Day; Amazon; 1-day interactive online training
+
F5 Loadbalancers Training; 2-day on-site training; F5, Inc.
The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online
-
Protocol buffers; O'Reilly Online
-
The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online
-
Scripting Vim; Damian Conway; O'Reilly Online
-
Developing IaC with Terraform (with Live Lessons); O'Reilly Online
-
Structure and Interpretation of Computer Programs; Harold Abelson and more...;
-
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)
Ultimate Go Programming; Bill Kennedy; O'Reilly Online
-
Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training
+
Structure and Interpretation of Computer Programs; Harold Abelson and more...;
Apache Tomcat Best Practises; 3-day on-site training
-
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
+
The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online
+
Protocol buffers; O'Reilly Online
+
Scripting Vim; Damian Conway; O'Reilly Online
+
MySQL Deep Dive Workshop; 2-day on-site training
+
Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site 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)
Functional programming lecture; Remote University of Hagen
+
AWS Immersion Day; Amazon; 1-day interactive online 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:
+
Advanced Bash-Scripting Guide
Raku Guide at https://raku.guide
How CPUs work at https://cpu.land
-
Advanced Bash-Scripting Guide
Podcasts
@@ -197,32 +197,32 @@
In random order:
-
Wednesday Wisdom
-
Modern Mentor
-
The Pragmatic Engineer Podcast
-
The Changelog Podcast(s)
-
BSD Now [BSD]
-
Fork Around And Find Out
-
Dev Interrupted
Cup o' Go [Golang]
-
Fallthrough [Golang]
+
Dev Interrupted
+
Fork Around And Find Out
+
Maintainable
+
BSD Now [BSD]
+
The Changelog Podcast(s)
Hidden Brain
+
The Pragmatic Engineer Podcast
+
Fallthrough [Golang]
The ProdCast (Google SRE Podcast)
-
Pratical AI
-
Backend Banter
Deep Questions with Cal Newport
-
Maintainable
+
Backend Banter
+
Wednesday Wisdom
+
Pratical AI
+
Modern Mentor
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.
-
FLOSS weekly
-
Go Time (predecessor of fallthrough)
+
Ship It (predecessor of Fork Around And Find Out)
Modern Mentor
CRE: Chaosradio Express [german]
-
Ship It (predecessor of Fork Around And Find Out)
+
Go Time (predecessor of fallthrough)
+
FLOSS weekly
Java Pub House
Newsletters I like
@@ -230,26 +230,26 @@
This is a mix of tech and non-tech newsletters I am subscribed to. In random order:
-
VK Newsletter
-
Register Spill
-
Monospace Mentor
Andreas Brandhorst Newsletter (Sci-Fi author)
Applied Go Weekly Newsletter
-
The Imperfectionist
-
Changelog News
-
The Valuable Dev
+
Ruby Weekly
+
The Pragmatic Engineer
+
Register Spill
+
VK Newsletter
byteSizeGo
Golang Weekly
-
The Pragmatic Engineer
-
Ruby Weekly
+
Monospace Mentor
+
Changelog News
+
The Imperfectionist
+
The Valuable Dev
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:
f3s: Kubernetes with FreeBSD - Part 7: k3s and first pod deployments
-Published at 2025-10-02T11:27:19+03:00
+Published at 2025-10-02T11:27:19+03:00, last updated Tue 30 Dec 10:11:58 EET 2025
This is the seventh blog post about the f3s series for my self-hosting demands in a home lab. f3s? The "f" stands for FreeBSD, and the "3s" stands for k3s, the Kubernetes distribution I use on FreeBSD-based physical machines.
@@ -672,10 +674,11 @@ table <f3s> {
}
-Inside the http protocol "https" block each public hostname gets its Let's Encrypt certificate and is matched to that backend table. Besides the primary trio, every service-specific hostname (anki, bag, flux, audiobookshelf, gpodder, radicale, vault, syncthing, uprecords) and their www / standby aliases reuse the same pool so new apps can go live just by publishing an ingress rule, whereas they will all map to a service running in k3s:
+Inside the http protocol "https" block each public hostname gets its Let's Encrypt certificate. The protocol configures TLS keypairs for all f3s services and other public endpoints. For f3s hosts specifically, there are no explicit forward to rules in the protocol—they use the relay-level failover mechanism described later. Non-f3s hosts get explicit localhost routing to prevent them from trying the f3s backends:
http protocol "https" {
+ # TLS certificates for all f3s services
tls keypair f3s.foo.zone
tls keypair www.f3s.foo.zone
tls keypair standby.f3s.foo.zone
@@ -707,36 +710,15 @@ http protocol "https" {
tls keypair www.uprecords.f3s.foo.zone
tls keypair standby.uprecords.f3s.foo.zone
- match request quick header "Host" value "f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "anki.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.anki.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.anki.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "bag.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.bag.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.bag.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "flux.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.flux.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.flux.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "audiobookshelf.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.audiobookshelf.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.audiobookshelf.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "gpodder.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.gpodder.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.gpodder.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "radicale.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.radicale.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.radicale.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "vault.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.vault.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.vault.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "syncthing.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.syncthing.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.syncthing.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "uprecords.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.uprecords.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.uprecords.f3s.foo.zone" forward to <f3s>
+ # Explicitly route non-f3s hosts to localhost
+ match request header "Host" value "foo.zone" forward to <localhost>
+ match request header "Host" value "www.foo.zone" forward to <localhost>
+ match request header "Host" value "dtail.dev" forward to <localhost>
+ # ... other non-f3s hosts ...
+
+ # NOTE: f3s hosts have NO match rules here!
+ # They use relay-level failover (f3s -> localhost backup)
+ # See the relay configuration below for automatic failover details
}
@@ -746,18 +728,143 @@ http protocol "https" {
relay "https4" {
listen on 46.23.94.99 port 443 tls
protocol "https"
+ # Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
+ forward to <localhost> port 8080
}
relay "https6" {
listen on 2a03:6000:6f67:624::99 port 443 tls
protocol "https"
+ # Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
+ forward to <localhost> port 8080
}
In practice, that means relayd terminates TLS with the correct certificate, keeps the three WireGuard-connected backends in rotation, and ships each request to whichever bhyve VM answers first.
+
Automatic failover when f3s cluster is down
+
+Update: This section was added at Tue 30 Dec 10:11:44 EET 2025
+
+One important aspect of this setup is graceful degradation: when all three f3s nodes are unreachable (e.g., during maintenance or a power outage in my LAN), users should see a friendly status page instead of an error message.
+
+OpenBSD's relayd supports automatic failover through its health check mechanism. According to the relayd.conf manual:
+
+This directive can be specified multiple times - subsequent entries will be used as the backup table if all hosts in the previous table are down.
+
+The key is the order of forward to statements in the relay configuration. By placing the f3s table first with check tcp health checks, followed by localhost as a backup, relayd automatically routes traffic based on backend availability:
+
+When f3s cluster is UP:
+
+
+
Health checks on port 80 succeed for f3s nodes
+
All f3s traffic routes to the Kubernetes cluster
+
Localhost backup remains idle
+
+When f3s cluster is DOWN:
+
+
+
All health checks fail (nodes unreachable)
+
The <f3s> table becomes unavailable
+
Traffic automatically falls back to <localhost> on port 8080
+
OpenBSD's httpd serves a static fallback page
+
+
+# NEW configuration - supports automatic failover
+http protocol "https" {
+ # Explicitly route non-f3s hosts to localhost
+ match request header "Host" value "foo.zone" forward to <localhost>
+ match request header "Host" value "dtail.dev" forward to <localhost>
+ # ... other non-f3s hosts ...
+
+ # f3s hosts have NO protocol rules - they use relay-level failover
+ # (no match rules for f3s.foo.zone, anki.f3s.foo.zone, etc.)
+}
+
+relay "https4" {
+ # f3s FIRST (with health checks), localhost as BACKUP
+ forward to <f3s> port 80 check tcp
+ forward to <localhost> port 8080
+}
+
+
+This way, f3s traffic uses the relay's default behavior: try the first table, fall back to the second when health checks fail.
+
+
OpenBSD httpd fallback configuration
+
+The localhost httpd service on port 8080 serves the fallback content from /var/www/htdocs/f3s_fallback/. This directory contains a simple HTML page explaining the situation:
+
+
+# OpenBSD httpd.conf
+# Fallback for f3s hosts
+server "f3s.foo.zone" {
+ listen on * port 8080
+ log style forwarded
+ location * {
+ root "/htdocs/f3s_fallback"
+ directory auto index
+ }
+}
+
+server "anki.f3s.foo.zone" {
+ listen on * port 8080
+ log style forwarded
+ location * {
+ root "/htdocs/f3s_fallback"
+ directory auto index
+ }
+}
+
+# ... similar blocks for all f3s hostnames ...
+
+
+The fallback page itself is straightforward:
+
+
+
<!DOCTYPEhtml>
+<html>
+<head>
+ <title>Server turned off</title>
+ <style>
+ body {
+ font-family: sans-serif;
+ text-align: center;
+ padding-top: 50px;
+ }
+ .container {
+ max-width: 600px;
+ margin: 0 auto;
+ }
+ </style>
+</head>
+<body>
+ <divclass="container">
+ <h1>Server turned off</h1>
+ <p>The servers are all currently turned off.</p>
+ <p>Please try again later.</p>
+ <p>Or email <ahref="mailto:paul@nospam.buetow.org">paul@nospam.buetow.org</a>
+ - so I can turn them back on for you!</p>
+ </div>
+</body>
+</html>
+
+
+This approach provides several benefits:
+
+
+
Automatic detection: Health checks run continuously; no manual intervention needed
+
Instant fallback: When all f3s nodes go down, the next request automatically routes to localhost
+
Transparent recovery: When f3s comes back online, health checks pass and traffic resumes automatically
+
User experience: Visitors see a helpful message instead of connection errors
+
No DNS changes: The same hostnames work whether f3s is up or down
+
+This fallback mechanism has proven invaluable during maintenance windows and unexpected outages, ensuring that users always get a response even when the home lab is offline.
+
Deploying the private Docker image registry
As not all Docker images I want to deploy are available on public Docker registries and as I also build some of them by myself, there is the need of a private registry.
diff --git a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-8b.html b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-8b.html
new file mode 100644
index 00000000..d598c631
--- /dev/null
+++ b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-8b.html
@@ -0,0 +1,1132 @@
+
+
+
+
+f3s: Kubernetes with FreeBSD - Part 9: Enabling etcd Metrics
+
+
+
+
+
+
f3s: Kubernetes with FreeBSD - Part 9: Enabling etcd Metrics
+
+
Introduction
+
+This post covers enabling etcd metrics monitoring for the k3s cluster. The etcd dashboard in Grafana initially showed no data because k3s uses an embedded etcd that doesn't expose metrics by default.
+
+Part 8: Observability
+
+
+
+The FreeBSD servers (f0, f1, f2) that provide NFS storage to the k3s cluster have ZFS filesystems. Monitoring ZFS performance is crucial for understanding storage performance and cache efficiency.
+
+
Node Exporter ZFS Collector
+
+The node_exporter running on each FreeBSD server (v1.9.1) includes a built-in ZFS collector that exposes metrics via sysctls. The ZFS collector is enabled by default and provides:
+
+
+
ARC (Adaptive Replacement Cache) statistics
+
Cache hit/miss rates
+
Memory usage and allocation
+
MRU/MFU cache breakdown
+
Data vs metadata distribution
+
+
Verifying ZFS Metrics
+
+On any FreeBSD server, check that ZFS metrics are being exposed:
+
+
+
+The metrics are automatically scraped by Prometheus through the existing static configuration in additional-scrape-configs.yaml which targets all FreeBSD servers on port 9100 with the os: freebsd label.
+
+
ZFS Recording Rules
+
+Created recording rules for easier dashboard consumption in zfs-recording-rules.yaml:
+
+
+
+The dashboards are automatically imported by the Grafana sidecar and accessible at:
+
+https://grafana.f3s.buetow.org
+
+Navigate to Dashboards and search for:
+
+
"FreeBSD ZFS" - detailed per-host view with pool and dataset breakdowns
+
"FreeBSD ZFS Summary" - cluster-wide overview of all ZFS storage
+
+
Key Metrics to Monitor
+
+**ARC Hit Rate:** Should typically be above 90% for optimal performance. Lower hit rates indicate the ARC cache is too small or workload has poor locality.
+
+**ARC Memory Usage:** Shows how much of the maximum ARC size is being used. If consistently at or near maximum, the ARC is effectively utilizing available memory.
+
+**Data vs Metadata:** Typically data should dominate, but workloads with many small files will show higher metadata percentages.
+
+**MRU vs MFU:** Most Recently Used vs Most Frequently Used cache. The ratio depends on workload characteristics.
+
+**Pool Capacity:** Monitor pool usage to ensure adequate free space. ZFS performance degrades when pools exceed 80% capacity.
+
+**Pool Health:** Should always show ONLINE (green). DEGRADED (yellow) indicates a disk issue requiring attention. FAULTED (red) requires immediate action.
+
+**Dataset Usage:** Track which datasets are consuming the most space to identify growth trends and plan capacity.
+
+
ZFS Pool and Dataset Metrics via Textfile Collector
+
+To complement the ARC statistics from node_exporter's built-in ZFS collector, I added pool capacity and dataset metrics using the textfile collector feature.
+
+Created a script at /usr/local/bin/zfs_pool_metrics.sh on each FreeBSD server:
+
+
+#!/bin/sh
+# ZFS Pool and Dataset Metrics Collector for Prometheus
+
+OUTPUT_FILE="/var/tmp/node_exporter/zfs_pools.prom.$$"
+FINAL_FILE="/var/tmp/node_exporter/zfs_pools.prom"
+
+mkdir -p /var/tmp/node_exporter
+
+{
+ # Pool metrics
+ echo "# HELP zfs_pool_size_bytes Total size of ZFS pool"
+ echo "# TYPE zfs_pool_size_bytes gauge"
+ echo "# HELP zfs_pool_allocated_bytes Allocated space in ZFS pool"
+ echo "# TYPE zfs_pool_allocated_bytes gauge"
+ echo "# HELP zfs_pool_free_bytes Free space in ZFS pool"
+ echo "# TYPE zfs_pool_free_bytes gauge"
+ echo "# HELP zfs_pool_capacity_percent Capacity percentage"
+ echo "# TYPE zfs_pool_capacity_percent gauge"
+ echo "# HELP zfs_pool_health Pool health (0=ONLINE, 1=DEGRADED, 2=FAULTED)"
+ echo "# TYPE zfs_pool_health gauge"
+
+ zpool list -Hp -o name,size,allocated,free,capacity,health | \
+ while IFS=$'\t' read name size alloc free cap health; do
+ case "$health" in
+ ONLINE) health_val=0 ;;
+ DEGRADED) health_val=1 ;;
+ FAULTED) health_val=2 ;;
+ *) health_val=6 ;;
+ esac
+ cap_num=$(echo "$cap" | sed 's/%//')
+
+ echo "zfs_pool_size_bytes{pool=\"$name\"} $size"
+ echo "zfs_pool_allocated_bytes{pool=\"$name\"} $alloc"
+ echo "zfs_pool_free_bytes{pool=\"$name\"} $free"
+ echo "zfs_pool_capacity_percent{pool=\"$name\"} $cap_num"
+ echo "zfs_pool_health{pool=\"$name\"} $health_val"
+ done
+
+ # Dataset metrics
+ echo "# HELP zfs_dataset_used_bytes Used space in dataset"
+ echo "# TYPE zfs_dataset_used_bytes gauge"
+ echo "# HELP zfs_dataset_available_bytes Available space"
+ echo "# TYPE zfs_dataset_available_bytes gauge"
+ echo "# HELP zfs_dataset_referenced_bytes Referenced space"
+ echo "# TYPE zfs_dataset_referenced_bytes gauge"
+
+ zfs list -Hp -t filesystem -o name,used,available,referenced | \
+ while IFS=$'\t' read name used avail ref; do
+ pool=$(echo "$name" | cut -d/ -f1)
+ echo "zfs_dataset_used_bytes{pool=\"$pool\",dataset=\"$name\"} $used"
+ echo "zfs_dataset_available_bytes{pool=\"$pool\",dataset=\"$name\"} $avail"
+ echo "zfs_dataset_referenced_bytes{pool=\"$pool\",dataset=\"$name\"} $ref"
+ done
+} > "$OUTPUT_FILE"
+
+mv "$OUTPUT_FILE" "$FINAL_FILE"
+
+
+Deployed to all FreeBSD servers:
+
+
+for host in f0 f1 f2; do
+ scp /tmp/zfs_pool_metrics.sh paul@$host:/tmp/
+ ssh paul@$host 'doas mv /tmp/zfs_pool_metrics.sh /usr/local/bin/ && \
+ doas chmod +x /usr/local/bin/zfs_pool_metrics.sh'
+done
+
+
+Set up cron jobs to run every minute:
+
+
+for host in f0 f1 f2; do
+ ssh paul@$host 'echo "* * * * * /usr/local/bin/zfs_pool_metrics.sh >/dev/null 2>&1" | \
+ doas crontab -'
+done
+
+
+The textfile collector (already configured with --collector.textfile.directory=/var/tmp/node_exporter) automatically picks up the metrics.
+
+Verify metrics are being exposed:
+
+
Enabling etcd metrics monitoring for the k3s embedded etcd
+
Implementing comprehensive ZFS monitoring for FreeBSD storage servers
+
Creating recording rules for calculated metrics (ARC hit rates, memory usage, etc.)
+
Deploying Grafana dashboards for visualization
+
Configuring automatic dashboard import via ConfigMap labels
+
+The monitoring stack now provides visibility into both cluster control plane health (etcd) and storage performance (ZFS).
+
+prometheus configuration on Codeberg
+
+
Distributed Tracing with Grafana Tempo
+
+After implementing logs (Loki) and metrics (Prometheus), the final pillar of observability is distributed tracing. Grafana Tempo provides distributed tracing capabilities that help understand request flows across microservices.
+
+
Why Distributed Tracing?
+
+In a microservices architecture, a single user request may traverse multiple services. Distributed tracing:
+
+
+
Tracks requests across service boundaries
+
Identifies performance bottlenecks
+
Visualizes service dependencies
+
Correlates with logs and metrics
+
Helps debug complex distributed systems
+
+
Deploying Grafana Tempo
+
+Tempo is deployed in monolithic mode, following the same pattern as Loki's SingleBinary deployment.
+
+#### Configuration Strategy
+
+**Deployment Mode:** Monolithic (all components in one process)
+
+
Simpler operation than microservices mode
+
Suitable for the cluster scale
+
Consistent with Loki deployment pattern
+
+**Storage:** Filesystem backend using hostPath
+
+
10Gi storage at /data/nfs/k3svolumes/tempo/data
+
7-day retention (168h)
+
Local storage is the only option for monolithic mode
+
+**OTLP Receivers:** Standard OpenTelemetry Protocol ports
+
+
gRPC: 4317
+
HTTP: 4318
+
Bind to 0.0.0.0 to avoid Tempo 2.7+ localhost-only binding issue
+
+#### Tempo Deployment Files
+
+Created in /home/paul/git/conf/f3s/tempo/:
+
+**values.yaml** - Helm chart configuration:
+
+
+
+**Grafana Datasource Provisioning**
+
+All Grafana datasources (Prometheus, Alertmanager, Loki, Tempo) are provisioned via a unified ConfigMap that is directly mounted to the Grafana pod. This approach ensures datasources are loaded on startup without requiring sidecar-based discovery.
+
+In /home/paul/git/conf/f3s/prometheus/grafana-datasources-all.yaml:
+
+
Propagates trace context via W3C Trace Context headers
+
Links parent and child spans across service boundaries
+
+#### Deployment
+
+Created Helm chart in /home/paul/git/conf/f3s/tracing-demo/ with three separate deployments, services, and an ingress.
+
+Build and deploy:
+
+
+
+#### Service Graph Visualization
+
+The service graph shows visual connections between services:
+
+1. Navigate to Explore → Tempo
+2. Enable "Service Graph" view
+3. Shows: Frontend → Middleware → Backend with request rates
+
+The service graph uses Prometheus metrics generated from trace data.
+
+
Correlation Between Observability Signals
+
+Tempo integrates with Loki and Prometheus to provide unified observability.
+
+#### Traces-to-Logs
+
+Click on any span in a trace to see related logs:
+
+1. View trace in Grafana
+2. Click on a span
+3. Select "Logs for this span"
+4. Loki shows logs filtered by:
+ * Time range (span duration ± 1 hour)
+ * Service name
+ * Namespace
+ * Pod
+
+This helps correlate what the service was doing when the span was created.
+
+#### Traces-to-Metrics
+
+View Prometheus metrics for services in the trace:
+
+1. View trace in Grafana
+2. Select "Metrics" tab
+3. Shows metrics like:
+ * Request rate
+ * Error rate
+ * Duration percentiles
+
+#### Logs-to-Traces
+
+From logs, you can jump to related traces:
+
+1. In Loki, logs that contain trace IDs are automatically linked
+2. Click the trace ID to view the full trace
+3. See the complete request flow
+
+
+
+Or directly open the trace by pasting the trace ID in the search box:
+
+4be1151c0bdcd5625ac7e02b98d95bd5
+
+
+**5. Trace visualization:**
+
+The trace waterfall view in Grafana shows the complete request flow with timing:
+
+
+
+For additional examples of Tempo trace visualization, see also:
+
+X-RAG Observability Hackathon (more Grafana Tempo screenshots)
+
+The trace reveals the distributed request flow:
+
+
**Frontend (221ms)**: Receives GET /api/process, executes business logic, calls middleware
+
**Middleware (186ms)**: Receives POST /api/transform, transforms data, calls backend
+
**Backend (104ms)**: Receives GET /api/data, simulates database query with 100ms sleep
+
**Total request time**: 221ms end-to-end
+
**Span propagation**: W3C Trace Context headers automatically link all spans
+
+**6. Service graph visualization:**
+
+The service graph is automatically generated from traces and shows service dependencies. For examples of service graph visualization in Grafana, see the screenshots in the X-RAG Observability Hackathon blog post.
+
+X-RAG Observability Hackathon (includes service graph screenshots)
+
+This visualization helps identify:
+
+
+
diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml
index 7e7f3733..09efca2f 100644
--- a/gemfeed/atom.xml
+++ b/gemfeed/atom.xml
@@ -1,6 +1,6 @@
- 2025-12-26T23:33:35+02:00
+ 2025-12-30T10:15:58+02:00foo.zone feedTo be in the .zone!
@@ -2579,7 +2579,7 @@ p hash.values_at(:a, :c)
f3s: Kubernetes with FreeBSD - Part 7: k3s and first pod deploymentshttps://foo.zone/gemfeed/2025-10-02-f3s-kubernetes-with-freebsd-part-7.html
- 2025-10-02T11:27:19+03:00
+ 2025-10-02T11:27:19+03:00, last updated Tue 30 Dec 10:11:58 EET 2025Paul Buetow aka snonuxpaul@dev.buetow.org
@@ -2589,7 +2589,7 @@ p hash.values_at(:a, :c)
f3s: Kubernetes with FreeBSD - Part 7: k3s and first pod deployments
-Published at 2025-10-02T11:27:19+03:00
+Published at 2025-10-02T11:27:19+03:00, last updated Tue 30 Dec 10:11:58 EET 2025
This is the seventh blog post about the f3s series for my self-hosting demands in a home lab. f3s? The "f" stands for FreeBSD, and the "3s" stands for k3s, the Kubernetes distribution I use on FreeBSD-based physical machines.
@@ -3248,10 +3250,11 @@ table <f3s> {
}
-Inside the http protocol "https" block each public hostname gets its Let's Encrypt certificate and is matched to that backend table. Besides the primary trio, every service-specific hostname (anki, bag, flux, audiobookshelf, gpodder, radicale, vault, syncthing, uprecords) and their www / standby aliases reuse the same pool so new apps can go live just by publishing an ingress rule, whereas they will all map to a service running in k3s:
+Inside the http protocol "https" block each public hostname gets its Let's Encrypt certificate. The protocol configures TLS keypairs for all f3s services and other public endpoints. For f3s hosts specifically, there are no explicit forward to rules in the protocol—they use the relay-level failover mechanism described later. Non-f3s hosts get explicit localhost routing to prevent them from trying the f3s backends:
http protocol "https" {
+ # TLS certificates for all f3s services
tls keypair f3s.foo.zone
tls keypair www.f3s.foo.zone
tls keypair standby.f3s.foo.zone
@@ -3283,36 +3286,15 @@ http protocol "https" {
tls keypair www.uprecords.f3s.foo.zone
tls keypair standby.uprecords.f3s.foo.zone
- match request quick header "Host" value "f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "anki.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.anki.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.anki.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "bag.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.bag.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.bag.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "flux.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.flux.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.flux.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "audiobookshelf.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.audiobookshelf.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.audiobookshelf.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "gpodder.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.gpodder.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.gpodder.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "radicale.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.radicale.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.radicale.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "vault.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.vault.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.vault.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "syncthing.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.syncthing.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.syncthing.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "uprecords.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "www.uprecords.f3s.foo.zone" forward to <f3s>
- match request quick header "Host" value "standby.uprecords.f3s.foo.zone" forward to <f3s>
+ # Explicitly route non-f3s hosts to localhost
+ match request header "Host" value "foo.zone" forward to <localhost>
+ match request header "Host" value "www.foo.zone" forward to <localhost>
+ match request header "Host" value "dtail.dev" forward to <localhost>
+ # ... other non-f3s hosts ...
+
+ # NOTE: f3s hosts have NO match rules here!
+ # They use relay-level failover (f3s -> localhost backup)
+ # See the relay configuration below for automatic failover details
}
@@ -3322,18 +3304,143 @@ http protocol "https" {
relay "https4" {
listen on 46.23.94.99 port 443 tls
protocol "https"
+ # Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
+ forward to <localhost> port 8080
}
relay "https6" {
listen on 2a03:6000:6f67:624::99 port 443 tls
protocol "https"
+ # Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
+ forward to <localhost> port 8080
}
In practice, that means relayd terminates TLS with the correct certificate, keeps the three WireGuard-connected backends in rotation, and ships each request to whichever bhyve VM answers first.
+
Automatic failover when f3s cluster is down
+
+Update: This section was added at Tue 30 Dec 10:11:44 EET 2025
+
+One important aspect of this setup is graceful degradation: when all three f3s nodes are unreachable (e.g., during maintenance or a power outage in my LAN), users should see a friendly status page instead of an error message.
+
+OpenBSD's relayd supports automatic failover through its health check mechanism. According to the relayd.conf manual:
+
+This directive can be specified multiple times - subsequent entries will be used as the backup table if all hosts in the previous table are down.
+
+The key is the order of forward to statements in the relay configuration. By placing the f3s table first with check tcp health checks, followed by localhost as a backup, relayd automatically routes traffic based on backend availability:
+
+When f3s cluster is UP:
+
+
+
Health checks on port 80 succeed for f3s nodes
+
All f3s traffic routes to the Kubernetes cluster
+
Localhost backup remains idle
+
+When f3s cluster is DOWN:
+
+
+
All health checks fail (nodes unreachable)
+
The <f3s> table becomes unavailable
+
Traffic automatically falls back to <localhost> on port 8080
+
OpenBSD's httpd serves a static fallback page
+
+
+# NEW configuration - supports automatic failover
+http protocol "https" {
+ # Explicitly route non-f3s hosts to localhost
+ match request header "Host" value "foo.zone" forward to <localhost>
+ match request header "Host" value "dtail.dev" forward to <localhost>
+ # ... other non-f3s hosts ...
+
+ # f3s hosts have NO protocol rules - they use relay-level failover
+ # (no match rules for f3s.foo.zone, anki.f3s.foo.zone, etc.)
+}
+
+relay "https4" {
+ # f3s FIRST (with health checks), localhost as BACKUP
+ forward to <f3s> port 80 check tcp
+ forward to <localhost> port 8080
+}
+
+
+This way, f3s traffic uses the relay's default behavior: try the first table, fall back to the second when health checks fail.
+
+
OpenBSD httpd fallback configuration
+
+The localhost httpd service on port 8080 serves the fallback content from /var/www/htdocs/f3s_fallback/. This directory contains a simple HTML page explaining the situation:
+
+
+# OpenBSD httpd.conf
+# Fallback for f3s hosts
+server "f3s.foo.zone" {
+ listen on * port 8080
+ log style forwarded
+ location * {
+ root "/htdocs/f3s_fallback"
+ directory auto index
+ }
+}
+
+server "anki.f3s.foo.zone" {
+ listen on * port 8080
+ log style forwarded
+ location * {
+ root "/htdocs/f3s_fallback"
+ directory auto index
+ }
+}
+
+# ... similar blocks for all f3s hostnames ...
+
+
+The fallback page itself is straightforward:
+
+
+
<!DOCTYPEhtml>
+<html>
+<head>
+ <title>Server turned off</title>
+ <style>
+ body {
+ font-family: sans-serif;
+ text-align: center;
+ padding-top: 50px;
+ }
+ .container {
+ max-width: 600px;
+ margin: 0 auto;
+ }
+ </style>
+</head>
+<body>
+ <divclass="container">
+ <h1>Server turned off</h1>
+ <p>The servers are all currently turned off.</p>
+ <p>Please try again later.</p>
+ <p>Or email <ahref="mailto:paul@nospam.buetow.org">paul@nospam.buetow.org</a>
+ - so I can turn them back on for you!</p>
+ </div>
+</body>
+</html>
+
+
+This approach provides several benefits:
+
+
+
Automatic detection: Health checks run continuously; no manual intervention needed
+
Instant fallback: When all f3s nodes go down, the next request automatically routes to localhost
+
Transparent recovery: When f3s comes back online, health checks pass and traffic resumes automatically
+
User experience: Visitors see a helpful message instead of connection errors
+
No DNS changes: The same hostnames work whether f3s is up or down
+
+This fallback mechanism has proven invaluable during maintenance windows and unexpected outages, ensuring that users always get a response even when the home lab is offline.
+
Deploying the private Docker image registry
As not all Docker images I want to deploy are available on public Docker registries and as I also build some of them by myself, there is the need of a private registry.
diff --git a/index.html b/index.html
index 8ba12792..5393fb25 100644
--- a/index.html
+++ b/index.html
@@ -13,7 +13,7 @@
Hello!
-This site was generated at 2025-12-27T14:56:36+02:00 by Gemtexter
+This site was generated at 2025-12-30T10:15:58+02:00 by Gemtexter
Welcome to the foo.zone!
diff --git a/tags/style-override.css b/tags/style-override.css
new file mode 100644
index 00000000..e69de29b
diff --git a/test-tags.html.tmp b/test-tags.html.tmp
new file mode 100644
index 00000000..cd05ebd2
--- /dev/null
+++ b/test-tags.html.tmp
@@ -0,0 +1,38 @@
+
+
+
+
+%%TITLE%%
+
+
+
+
+
+
+
+This is a test page to demonstrate the tags feature.
+
+This page is about #bash, #linux, and #programming.
+
+We also talk about #golang and #devops here.
+
+
Code Example
+
+
+# This #tag-in-code-block should be ignored
+echo "Hello World"
+
-This site was last updated at 2025-12-27T14:56:36+02:00
+This site was last updated at 2025-12-30T10:15:58+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.
@@ -35,24 +35,24 @@
| Pos | Host | Boots | Last Kernel |
+-----+----------------+-------+-------------------------------+
| 1. | alphacentauri | 671 | FreeBSD 11.4-RELEASE-p7 |
-| 2. | *earth | 218 | Linux 6.17.12-300.fc43.x86_64 |
+| 2. | *earth | 220 | Linux 6.17.12-300.fc43.x86_64 |
| 3. | mars | 207 | Linux 3.2.0-4-amd64 |
| 4. | callisto | 153 | Linux 4.0.4-303.fc22.x86_64 |
| 5. | dionysus | 136 | FreeBSD 13.0-RELEASE-p11 |
| 6. | tauceti-e | 120 | Linux 3.2.0-4-amd64 |
| 7. | *makemake | 81 | Linux 6.9.9-200.fc40.x86_64 |
-| 8. | *f2 | 70 | FreeBSD 14.3-RELEASE |
-| 9. | *f1 | 65 | FreeBSD 14.3-RELEASE |
-| 10. | *f0 | 62 | FreeBSD 14.3-RELEASE |
+| 8. | f2 | 70 | FreeBSD 14.3-RELEASE |
+| 9. | f1 | 65 | FreeBSD 14.3-RELEASE |
+| 10. | f0 | 62 | FreeBSD 14.3-RELEASE |
| 11. | uranus | 59 | NetBSD 10.1 |
| 12. | pluto | 51 | Linux 3.2.0-4-amd64 |
-| 13. | *mega-m3-pro | 50 | Darwin 24.6.0 |
-| 14. | mega15289 | 50 | Darwin 23.4.0 |
-| 15. | *fishfinger | 46 | OpenBSD 7.7 |
+| 13. | mega15289 | 50 | Darwin 23.4.0 |
+| 14. | *mega-m3-pro | 50 | Darwin 24.6.0 |
+| 15. | fishfinger | 46 | OpenBSD 7.7 |
| 16. | t450 | 44 | FreeBSD 14.2-RELEASE |
-| 17. | *blowfish | 43 | OpenBSD 7.7 |
-| 18. | phobos | 40 | Linux 3.4.0-CM-g1dd7cdf |
-| 19. | mega8477 | 40 | Darwin 13.4.0 |
+| 17. | blowfish | 43 | OpenBSD 7.7 |
+| 18. | mega8477 | 40 | Darwin 13.4.0 |
+| 19. | phobos | 40 | Linux 3.4.0-CM-g1dd7cdf |
| 20. | sun | 33 | FreeBSD 10.3-RELEASE-p24 |
+-----+----------------+-------+-------------------------------+
@@ -66,12 +66,12 @@
| Pos | Host | Uptime | Last Kernel |
+-----+----------------+-----------------------------+-----------------------------------+
| 1. | vulcan | 4 years, 5 months, 6 days | Linux 3.10.0-1160.81.1.el7.x86_64 |
-| 2. | *earth | 3 years, 12 months, 3 days | Linux 6.17.12-300.fc43.x86_64 |
-| 3. | *blowfish | 3 years, 10 months, 2 days | OpenBSD 7.7 |
+| 2. | *earth | 3 years, 12 months, 6 days | Linux 6.17.12-300.fc43.x86_64 |
+| 3. | blowfish | 3 years, 10 months, 2 days | OpenBSD 7.7 |
| 4. | sun | 3 years, 9 months, 26 days | FreeBSD 10.3-RELEASE-p24 |
| 5. | uranus | 3 years, 9 months, 5 days | NetBSD 10.1 |
| 6. | uugrn | 3 years, 5 months, 5 days | FreeBSD 11.2-RELEASE-p4 |
-| 7. | *fishfinger | 3 years, 1 months, 28 days | OpenBSD 7.7 |
+| 7. | fishfinger | 3 years, 1 months, 28 days | OpenBSD 7.7 |
| 8. | deltavega | 3 years, 1 months, 21 days | Linux 3.10.0-1160.11.1.el7.x86_64 |
| 9. | pluto | 2 years, 10 months, 29 days | Linux 3.2.0-4-amd64 |
| 10. | tauceti | 2 years, 3 months, 19 days | Linux 3.2.0-4-amd64 |
@@ -97,13 +97,13 @@
| Pos | Host | Score | Last Kernel |
+-----+----------------+-------+-----------------------------------+
| 1. | uranus | 340 | NetBSD 10.1 |
-| 2. | vulcan | 275 | Linux 3.10.0-1160.81.1.el7.x86_64 |
-| 3. | *earth | 275 | Linux 6.17.12-300.fc43.x86_64 |
-| 4. | *blowfish | 243 | OpenBSD 7.7 |
+| 2. | *earth | 276 | Linux 6.17.12-300.fc43.x86_64 |
+| 3. | vulcan | 275 | Linux 3.10.0-1160.81.1.el7.x86_64 |
+| 4. | blowfish | 240 | OpenBSD 7.7 |
| 5. | sun | 238 | FreeBSD 10.3-RELEASE-p24 |
| 6. | uugrn | 211 | FreeBSD 11.2-RELEASE-p4 |
| 7. | alphacentauri | 201 | FreeBSD 11.4-RELEASE-p7 |
-| 8. | *fishfinger | 200 | OpenBSD 7.7 |
+| 8. | fishfinger | 198 | OpenBSD 7.7 |
| 9. | deltavega | 193 | Linux 3.10.0-1160.11.1.el7.x86_64 |
| 10. | pluto | 182 | Linux 3.2.0-4-amd64 |
| 11. | dionysus | 156 | FreeBSD 13.0-RELEASE-p11 |
@@ -138,9 +138,9 @@
| 9. | mars | 1 years, 2 months, 10 days | Linux 3.2.0-4-amd64 |
| 10. | tauceti-e | 0 years, 12 months, 9 days | Linux 3.2.0-4-amd64 |
| 11. | sirius | 0 years, 8 months, 20 days | Linux 2.6.32-042stab111.12 |
-| 12. | *f0 | 0 years, 8 months, 3 days | FreeBSD 14.3-RELEASE |
-| 13. | *f2 | 0 years, 8 months, 2 days | FreeBSD 14.3-RELEASE |
-| 14. | *f1 | 0 years, 8 months, 1 days | FreeBSD 14.3-RELEASE |
+| 12. | f0 | 0 years, 8 months, 3 days | FreeBSD 14.3-RELEASE |
+| 13. | f2 | 0 years, 8 months, 2 days | FreeBSD 14.3-RELEASE |
+| 14. | f1 | 0 years, 8 months, 1 days | FreeBSD 14.3-RELEASE |
| 15. | *earth | 0 years, 6 months, 29 days | Linux 6.17.12-300.fc43.x86_64 |
| 16. | deimos | 0 years, 5 months, 15 days | Linux 4.4.5-300.fc23.x86_64 |
| 17. | joghurt | 0 years, 2 months, 9 days | FreeBSD 7.0-PRERELEASE |
@@ -162,13 +162,13 @@
| 2. | dionysus | 8 years, 6 months, 17 days | FreeBSD 13.0-RELEASE-p11 |
| 3. | alphacentauri | 6 years, 9 months, 13 days | FreeBSD 11.4-RELEASE-p7 |
| 4. | *makemake | 4 years, 10 months, 16 days | Linux 6.9.9-200.fc40.x86_64 |
-| 5. | *earth | 4 years, 6 months, 1 days | Linux 6.17.12-300.fc43.x86_64 |
+| 5. | *earth | 4 years, 6 months, 4 days | Linux 6.17.12-300.fc43.x86_64 |
| 6. | vulcan | 4 years, 5 months, 6 days | Linux 3.10.0-1160.81.1.el7.x86_64 |
-| 7. | *blowfish | 3 years, 10 months, 3 days | OpenBSD 7.7 |
+| 7. | blowfish | 3 years, 10 months, 3 days | OpenBSD 7.7 |
| 8. | sun | 3 years, 10 months, 2 days | FreeBSD 10.3-RELEASE-p24 |
| 9. | uugrn | 3 years, 5 months, 5 days | FreeBSD 11.2-RELEASE-p4 |
| 10. | mega15289 | 3 years, 4 months, 9 days | Darwin 23.4.0 |
-| 11. | *fishfinger | 3 years, 1 months, 30 days | OpenBSD 7.7 |
+| 11. | fishfinger | 3 years, 1 months, 30 days | OpenBSD 7.7 |
| 12. | deltavega | 3 years, 1 months, 21 days | Linux 3.10.0-1160.11.1.el7.x86_64 |
| 13. | pluto | 2 years, 10 months, 30 days | Linux 3.2.0-4-amd64 |
| 14. | t450 | 2 years, 9 months, 6 days | FreeBSD 14.2-RELEASE |
@@ -191,13 +191,13 @@
+-----+----------------+-------+
| 1. | FreeBSD 10... | 551 |
| 2. | Linux 3... | 550 |
-| 3. | *FreeBSD 14... | 215 |
-| 4. | *Linux 6... | 203 |
+| 3. | FreeBSD 14... | 215 |
+| 4. | *Linux 6... | 205 |
| 5. | Linux 5... | 162 |
| 6. | Linux 4... | 161 |
| 7. | FreeBSD 11... | 153 |
| 8. | FreeBSD 13... | 116 |
-| 9. | *OpenBSD 7... | 99 |
+| 9. | OpenBSD 7... | 99 |
| 10. | Darwin 13... | 40 |
| 11. | Darwin 23... | 29 |
| 12. | *Darwin 24... | 26 |
@@ -207,8 +207,8 @@
| 16. | Darwin 15... | 15 |
| 17. | Darwin 22... | 12 |
| 18. | Darwin 18... | 11 |
-| 19. | OpenBSD 4... | 10 |
-| 20. | FreeBSD 7... | 10 |
+| 19. | FreeBSD 6... | 10 |
+| 20. | OpenBSD 4... | 10 |
+-----+----------------+-------+
@@ -221,13 +221,13 @@
| Pos | KernelMajor | Uptime |
+-----+----------------+------------------------------+
| 1. | Linux 3... | 15 years, 10 months, 25 days |
-| 2. | *OpenBSD 7... | 7 years, 6 months, 29 days |
+| 2. | OpenBSD 7... | 7 years, 6 months, 29 days |
| 3. | FreeBSD 10... | 5 years, 9 months, 9 days |
| 4. | Linux 5... | 4 years, 10 months, 21 days |
-| 5. | *Linux 6... | 3 years, 3 months, 3 days |
+| 5. | *Linux 6... | 3 years, 3 months, 7 days |
| 6. | Linux 4... | 2 years, 7 months, 22 days |
| 7. | FreeBSD 11... | 2 years, 4 months, 28 days |
-| 8. | *FreeBSD 14... | 2 years, 3 months, 24 days |
+| 8. | FreeBSD 14... | 2 years, 3 months, 24 days |
| 9. | Linux 2... | 1 years, 11 months, 21 days |
| 10. | Darwin 13... | 1 years, 3 months, 25 days |
| 11. | FreeBSD 6... | 1 years, 3 months, 9 days |
@@ -252,12 +252,12 @@
| Pos | KernelMajor | Score |
+-----+----------------+-------+
| 1. | Linux 3... | 1045 |
-| 2. | *OpenBSD 7... | 484 |
+| 2. | OpenBSD 7... | 481 |
| 3. | FreeBSD 10... | 406 |
| 4. | Linux 5... | 317 |
| 5. | *Linux 6... | 220 |
| 6. | Linux 4... | 175 |
-| 7. | *FreeBSD 14... | 161 |
+| 7. | FreeBSD 14... | 159 |
| 8. | FreeBSD 11... | 159 |
| 9. | Linux 2... | 121 |
| 10. | Darwin 13... | 80 |
@@ -269,8 +269,8 @@
| 16. | Darwin 18... | 32 |
| 17. | Darwin 22... | 30 |
| 18. | Darwin 15... | 29 |
-| 19. | FreeBSD 5... | 25 |
-| 20. | FreeBSD 13... | 25 |
+| 19. | FreeBSD 13... | 25 |
+| 20. | FreeBSD 5... | 25 |
+-----+----------------+-------+
@@ -282,10 +282,10 @@
+-----+------------+-------+
| Pos | KernelName | Boots |
+-----+------------+-------+
-| 1. | *Linux | 1098 |
-| 2. | *FreeBSD | 1080 |
+| 1. | *Linux | 1100 |
+| 2. | FreeBSD | 1080 |
| 3. | *Darwin | 155 |
-| 4. | *OpenBSD | 109 |
+| 4. | OpenBSD | 109 |
| 5. | NetBSD | 1 |
+-----+------------+-------+
@@ -298,9 +298,9 @@
+-----+------------+-----------------------------+
| Pos | KernelName | Uptime |
+-----+------------+-----------------------------+
-| 1. | *Linux | 28 years, 3 months, 26 days |
-| 2. | *FreeBSD | 12 years, 2 months, 24 days |
-| 3. | *OpenBSD | 8 years, 2 months, 7 days |
+| 1. | *Linux | 28 years, 3 months, 30 days |
+| 2. | FreeBSD | 12 years, 2 months, 24 days |
+| 3. | OpenBSD | 8 years, 2 months, 7 days |
| 4. | *Darwin | 5 years, 2 months, 22 days |
| 5. | NetBSD | 0 years, 1 months, 1 days |
+-----+------------+-----------------------------+
@@ -314,9 +314,9 @@
+-----+------------+-------+
| Pos | KernelName | Score |
+-----+------------+-------+
-| 1. | *Linux | 1879 |
-| 2. | *FreeBSD | 862 |
-| 3. | *OpenBSD | 523 |
+| 1. | *Linux | 1880 |
+| 2. | FreeBSD | 860 |
+| 3. | OpenBSD | 520 |
| 4. | *Darwin | 340 |
| 5. | NetBSD | 0 |
+-----+------------+-------+
--
cgit v1.2.3