summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--about/newsletters.txt2
-rw-r--r--about/resources.md178
-rw-r--r--gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md3
-rw-r--r--gemfeed/2025-01-15-working-with-an-sre-interview.md177
-rw-r--r--gemfeed/DRAFT-f3s-kubernetes-with-freebsd-bhyve.md91
-rw-r--r--gemfeed/index.md1
-rw-r--r--index.md3
-rw-r--r--uptime-stats.md2
8 files changed, 349 insertions, 108 deletions
diff --git a/about/newsletters.txt b/about/newsletters.txt
index c0593078..4bf9e1ca 100644
--- a/about/newsletters.txt
+++ b/about/newsletters.txt
@@ -9,4 +9,4 @@
* VK Newsletter
* Monospace Mentor
* Changelog News
-* The Prgagmatic Engineer
+* The Pragmatic Engineer
diff --git a/about/resources.md b/about/resources.md
index 9c474380..c84c6a76 100644
--- a/about/resources.md
+++ b/about/resources.md
@@ -35,100 +35,100 @@ You won't find any links on this site because, over time, the links will break.
In random order:
-* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner
-* Modern Perl; Chromatic ; Onyx Neon Press
-* Higher Order Perl; Mark Dominus; Morgan Kaufmann
-* Data Science at the Command Line; Jeroen Janssens; O'Reilly
-* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible
-* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson
-* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly
-* Developing Games in Java; David Brackeen and others...; New Riders
-* Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press
-* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional
-* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press
-* Concurrency in Go; Katherine Cox-Buday; O'Reilly
+* Polished Ruby Programming; Jeremy Evans; Packt Publishing
* Site Reliability Engineering; How Google runs production systems; O'Reilly
-* The Pragmatic Programmer; David Thomas; Addison-Wesley
* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications
-* Effective Java; Joshua Bloch; Addison-Wesley Professional
-* Leanring eBPF; Liz Rice; O'Reilly
-* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications
-* Effective awk programming; Arnold Robbins; O'Reilly
-* Pro Puppet; James Turnbull, Jeffrey McCune; Apress
-* Java ist auch eine Insel; Christian Ullenboom;
-* C++ Programming Language; Bjarne Stroustrup;
+* Terraform Cookbook; Mikael Krief; Packt Publishing
+* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly
* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers
-* Perl New Features; Joshua McAdams, brian d foy; Perl School
+* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press
+* Java ist auch eine Insel; Christian Ullenboom;
+* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly
* The Docker Book; James Turnbull; Kindle
-* Polished Ruby Programming; Jeremy Evans; Packt Publishing
-* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook
-* Terraform Cookbook; Mikael Krief; Packt Publishing
-* Systemprogrammierung in Go; Frank Müller; dpunkt
-* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly
+* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly
+* Raku Recipes; J.J. Merelo; Apress
+* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner
+* Funktionale Programmierung; Peter Pepper; Springer
* 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
-* DNS and BIND; Cricket Liu; O'Reilly
-* Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers
+* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional
+* Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press
+* C++ Programming Language; Bjarne Stroustrup;
+* Systemprogrammierung in Go; Frank Müller; dpunkt
+* The Pragmatic Programmer; David Thomas; Addison-Wesley
+* Effective Java; Joshua Bloch; Addison-Wesley Professional
+* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible
* Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt
-* Raku Recipes; J.J. Merelo; Apress
+* Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers
* The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton
-* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly
-* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly
-* Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly
+* Developing Games in Java; David Brackeen and others...; New Riders
+* Data Science at the Command Line; Jeroen Janssens; O'Reilly
+* Pro Puppet; James Turnbull, Jeffrey McCune; Apress
+* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly
+* Effective awk programming; Arnold Robbins; O'Reilly
+* DNS and BIND; Cricket Liu; O'Reilly
+* Leanring eBPF; Liz Rice; O'Reilly
+* Higher Order Perl; Mark Dominus; Morgan Kaufmann
+* Concurrency in Go; Katherine Cox-Buday; O'Reilly
* Raku Fundamentals; Moritz Lenz; Apress
-* Funktionale Programmierung; Peter Pepper; Springer
+* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson
+* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly
* Ultimate Go Notebook; Bill Kennedy
* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly
+* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook
+* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications
+* Modern Perl; Chromatic ; Onyx Neon Press
+* Perl New Features; Joshua McAdams, brian d foy; Perl School
* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible
-* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly
+* Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly
## 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
+* Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly
* 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
-* Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly
-* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly
* Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley
-* The Linux Programming Interface; Michael Kerrisk; No Starch Press
## Self-development and soft-skills books
In random order:
-* Solve for Happy; Mo Gawdat
-* Stop starting, start finishing; Arne Roock; Lean-Kanban University
-* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK
-* Digital Minimalism; Cal Newport; Portofolio Penguin
-* The Off Switch; Mark Cropley; Virgin Books
+* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
* Ultralearning; Anna Laurent; Self-published via Amazon
-* Influence without Authority; A. Cohen, D. Bradford; Wiley
+* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing
* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select
-* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly
+* Influence without Authority; A. Cohen, D. Bradford; Wiley
+* Stop starting, start finishing; Arne Roock; Lean-Kanban University
+* The Joy of Missing Out; Christina Crook; New Society Publishers
* The Power of Now; Eckhard Tolle; Yellow Kite
-* Eat That Frog!; Brian Tracy; Hodder Paperbacks
-* The Good Enough Job; Simone Stolzoff; Ebury Edge
-* 101 Essays that change the way you think; Brianna Wiest; Audible
-* Staff Engineer: Leadership beyond the management track; Will Larson; Audible
+* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly
+* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
+* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press
* Soft Skills; John Sommez; Manning Publications
+* The Good Enough Job; Simone Stolzoff; Ebury Edge
* Eat That Frog; Brian Tracy
-* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd
-* The Joy of Missing Out; Christina Crook; New Society Publishers
-* Ultralearning; Scott Young; Thorsons
-* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
-* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne
* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books
+* Slow Productivity; Cal Newport; Penguin Random House
* So Good They Can't Ignore You; Cal Newport; Business Plus
-* Deep Work; Cal Newport; Piatkus
+* 101 Essays that change the way you think; Brianna Wiest; Audible
+* Solve for Happy; Mo Gawdat
* The Bullet Journal Method; Ryder Carroll; Fourth Estate
+* Digital Minimalism; Cal Newport; Portofolio Penguin
+* Eat That Frog!; Brian Tracy; Hodder Paperbacks
+* The Off Switch; Mark Cropley; Virgin Books
* Atomic Habits; James Clear; Random House Business
+* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne
+* Deep Work; Cal Newport; Piatkus
+* Ultralearning; Scott Young; Thorsons
+* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd
* Psycho-Cybernetics; Maxwell Maltz; Perigee Books
-* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing
-* Slow Productivity; Cal Newport; Penguin Random House
+* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK
+* Staff Engineer: Leadership beyond the management track; Will Larson; Audible
* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business
-* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press
-* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
[Here are notes of mine for some of the books](../notes/index.md)
@@ -136,30 +136,30 @@ In random order:
Some of these were in-person with exams; others were online learning lectures only. In random order:
-* F5 Loadbalancers Training; 2-day on-site training; F5, Inc.
-* Structure and Interpretation of Computer Programs; Harold Abelson and more...;
-* Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon
-* Protocol buffers; O'Reilly Online
-* MySQL Deep Dive Workshop; 2-day on-site training
-* The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online
-* Apache Tomcat Best Practises; 3-day on-site training
-* Functional programming lecture; Remote University of Hagen
-* Scripting Vim; Damian Conway; O'Reilly Online
* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training
-* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online
-* AWS Immersion Day; Amazon; 1-day interactive online training
+* Structure and Interpretation of Computer Programs; Harold Abelson and more...;
* Developing IaC with Terraform (with Live Lessons); O'Reilly Online
+* Ultimate Go Programming; Bill Kennedy; O'Reilly Online
+* Scripting Vim; Damian Conway; O'Reilly Online
+* F5 Loadbalancers Training; 2-day on-site training; F5, Inc.
* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online
+* AWS Immersion Day; Amazon; 1-day interactive online training
+* Protocol buffers; O'Reilly Online
+* Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon
+* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online
+* Functional programming lecture; Remote University of Hagen
* 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
+* Apache Tomcat Best Practises; 3-day on-site training
+* MySQL Deep Dive Workshop; 2-day on-site training
+* The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online
## Technical guides
These are not whole books, but guides (smaller or larger) which I found very useful. in random order:
+* How CPUs work at https://cpu.land
* Raku Guide at https://raku.guide
* Advanced Bash-Scripting Guide
-* How CPUs work at https://cpu.land
## Podcasts
@@ -167,45 +167,45 @@ These are not whole books, but guides (smaller or larger) which I found very use
In random order:
+* The Pragmatic Engineer Podcast
+* Cup o' Go [Golang]
+* Backend Banter
+* Deep Questions with Cal Newport
+* Dev Interrupted
* Fallthrough [Golang]
* The ProdCast (Google SRE Podcast)
-* Dev Interrupted
-* Deep Questions with Cal Newport
+* Fork Around And Find Out
+* Hidden Brain
* Maintainable
-* The Pragmatic Engineer Podcast
-* Backend Banter
* The Changelog Podcast(s)
-* Hidden Brain
-* Cup o' Go [Golang]
-* Fork Around And Find Out
### 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.
-* Modern Mentor
-* FLOSS weekly
-* Ship It (predecessor of Fork Around And Find Out)
* Go Time (predecessor of fallthrough)
-* Java Pub House
* CRE: Chaosradio Express [german]
+* Ship It (predecessor of Fork Around And Find Out)
+* Modern Mentor
+* Java Pub House
+* FLOSS weekly
## Newsletters I like
This is a mix of tech and non-tech newsletters I am subscribed to. In random order:
+* Golang Weekly
* Applied Go Weekly Newsletter
-* Register Spill
-* Monospace Mentor
+* Ruby Weekly
+* Andreas Brandhorst Newsletter (Sci-Fi author)
* Changelog News
-* Golang Weekly
-* The Prgagmatic Engineer
+* The Pragmatic Engineer
+* VK Newsletter
* The Imperfectionist
-* Andreas Brandhorst Newsletter (Sci-Fi author)
+* Register Spill
* byteSizeGo
-* VK Newsletter
-* Ruby Weekly
* The Valuable Dev
+* Monospace Mentor
# Formal education
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 23dd19fa..06c11371 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
@@ -131,6 +131,7 @@ root@f0:~ # freebsd-update reboot
```
I also added the following entries for the three FreeBSD boxes to the `/etc/hosts` file:
+
```sh
root@f0:~ # cat <<END >>/etc/hosts
192.168.1.130 f0 f0.lan f0.lan.buetow.org
@@ -139,6 +140,8 @@ root@f0:~ # cat <<END >>/etc/hosts
END
```
+You might wonder why bother using the hosts file? Why not use DNS properly? The reason is simplicity. I don't manage 100 hosts, only a few here and there. Having an OpenWRT router in my home, I could also configure everything there, but maybe I'll do that later. For now, keep it simple and straightforward.
+
## After install
After that, I installed the following additional packages:
diff --git a/gemfeed/2025-01-15-working-with-an-sre-interview.md b/gemfeed/2025-01-15-working-with-an-sre-interview.md
new file mode 100644
index 00000000..e9556cfb
--- /dev/null
+++ b/gemfeed/2025-01-15-working-with-an-sre-interview.md
@@ -0,0 +1,177 @@
+# Working with an SRE Interview
+
+> Published at 2025-01-15T00:16:04+02:00
+
+I have been interviewed by Florian Buetow about what it's like working with a Site Reliability Engineer from the point of view of a Software Engineer, Data Scientist, and AI Engineer.
+
+[See original interview here](https://www.cracking-ai-engineering.com/writing/2025/01/12/working-with-an-sre-interview/)
+
+Below, I am posting the interview here on my blog as well.
+
+## Table of Contents
+
+* [⇢ Working with an SRE Interview](#working-with-an-sre-interview)
+* [⇢ ⇢ Preamble ](#preamble-)
+* [⇢ ⇢ Introducing Paul](#introducing-paul)
+* [⇢ ⇢ How did you get started?](#how-did-you-get-started)
+* [⇢ ⇢ Roles and Career Progression](#roles-and-career-progression)
+* [⇢ ⇢ Anecdotes and Best Practices](#anecdotes-and-best-practices)
+* [⇢ ⇢ Working with Different Teams](#working-with-different-teams)
+* [⇢ ⇢ Using AI Tools](#using-ai-tools)
+* [⇢ ⇢ SRE Learning Resources](#sre-learning-resources)
+* [⇢ ⇢ Blogging](#blogging)
+* [⇢ ⇢ Wrap-up](#wrap-up)
+* [⇢ ⇢ Closing comments](#closing-comments)
+
+## Preamble
+
+In this insightful interview, Paul Bütow, a Principal Site Reliability Engineer at Mimecast, shares over a decade of experience in the field. Paul highlights the role of an Embedded SRE, emphasizing the importance of automation, observability, and effective incident management. We also focused on the key question of how you can work effectively with an SRE weather you are an individual contributor or a manager, a software engineer or data scientist. And how you can learn more about site reliability engineering.
+
+## Introducing Paul
+
+Hi Paul, please introduce yourself briefly to the audience. Who are you, what do you do for a living, and where do you work?
+
+> My name is Paul Bütow, I work at Mimecast, and I’m a Principal Site Reliability Engineer there. I’ve been with Mimecast for almost ten years now. The company specializes in email security, including things like archiving, phishing detection, malware protection, and spam filtering.
+
+You mentioned that you’re an ‘Embedded SRE.’ What does that mean exactly?
+
+> It means that I’m directly part of the software engineering team, not in a separate Ops department. I ensure that nothing is deployed manually, and everything runs through automation. I also set up monitoring and observability. These are two distinct aspects: monitoring alerts us when something breaks, while observability helps us identify trends. I also create runbooks so we know what to do when specific incidents occur frequently.
+
+> Infrastructure SREs on the other hand handle the foundational setup, like providing the Kubernetes cluster itself or ensuring the operating systems are installed. They don't work on the application directly but ensure the base infrastructure is there for others to use. This works well when a company has multiple teams that need shared infrastructure.
+
+## How did you get started?
+
+How did your interest in Linux or FreeBSD start?
+
+> It began during my school days. We had a PC with DOS at home, and I eventually bought Suse Linux 5.3. Shortly after, I discovered FreeBSD because I liked its handbook so much. I wanted to understand exactly how everything worked, so I also tried Linux from Scratch. That involves installing every package manually to gain a better understanding of operating systems.
+
+[https://www.FreeBSD.org](https://www.FreeBSD.org)
+[https://linuxfromscratch.org/](https://linuxfromscratch.org/)
+
+And after school, you pursued computer science, correct?
+
+> Exactly. I wasn’t sure at first whether I wanted to be a software developer or a system administrator. I applied for both and eventually accepted an offer as a Linux system administrator. This was before 'SRE' became a buzzword, but much of what I did back then-automation, infrastructure as code, monitoring-is now considered part of the typical SRE role.
+
+## Roles and Career Progression
+
+Tell us about how you joined Mimecast. When did you fully embrace the SRE role?
+
+> I started as a Linux sysadmin at 1&1. I managed an ad server farm with hundreds of systems and later handled load balancers. Together with an architect, we managed F5 load balancers distributing around 2,000 services, including for portals like web.de and GMX. I also led the operations team technically for a while before moving to London to join Mimecast.
+
+> At Mimecast, the job title was explicitly 'Site Reliability Engineer.' The biggest difference was that I was no longer in a separate Ops department but embedded directly within the storage and search backend team. I loved that because we could plan features together-from automation to measurability and observability. Mimecast also operates thousands of physical servers for email archiving, which was fascinating since I already had experience with large distributed systems at 1&1. It was the right step for me because it allowed me to work close to the code while remaining hands-on with infrastructure.
+
+What are the differences between SRE, DevOps, SysAdmin, and Architects?
+
+> SREs are like the next step after SysAdmins. A SysAdmin might manually install servers, replace disks, or use simple scripts for automation, while SREs use infrastructure as code and focus on reliability through SLIs, SLOs, and automation. DevOps isn’t really a job-it’s more of a way of working, where developers are involved in operations tasks like setting up CI/CD pipelines or on-call shifts. Architects focus on designing systems and infrastructures, such as load balancers or distributed systems, working alongside SREs to ensure the systems meet the reliability and scalability requirements. The specific responsibilities of each role depend on the company, and there is often overlap.
+
+What are the most important reliability lessons you’ve learned so far?
+
+* Don’t leave SRE aspects as an afterthought. It’s much better to discuss automation, monitoring, SLIs, and SLOs early on. Traditional sysadmins often installed systems manually, but today, we do everything via infrastructure as code-using tools like Terraform or Puppet.
+* I also distinguish between monitoring and observability. Monitoring tells us, 'The server is down, alarm!' Observability dives deeper, showing trends like increasing latency so we can act proactively.
+* SLI, SLO, and SLA are core elements. We focus on what users actually experience-for example, how quickly an email is sent-and set our goals accordingly.
+* Runbooks are also crucial. When something goes wrong at night, you don’t want to start from scratch. A runbook outlines how to debug and resolve specific problems, saving time and reducing downtime.
+
+## Anecdotes and Best Practices
+
+Runbooks sound very practical. Can you explain how they’re used day-to-day?
+
+> Runbooks are essentially guides for handling specific incidents. For instance, if a service won’t start, the runbook will specify where the logs are and which commands to use. Observability takes it a step further, helping us spot changes early-like rising error rates or latency-so we can address issues before they escalate.
+
+When should you decide to put something into a runbook, and when is it unnecessary?
+
+> If an issue happens frequently, it should be documented in a runbook so that anyone, even someone new, can follow the steps to fix it. The idea is that 90% of the common incidents should be covered. For example, if a service is down, the runbook would specify where to find logs, which commands to check, and what actions to take. On the other hand, rare or complex issues, where the resolution depends heavily on context or varies each time, don’t make sense to include in detail. For those, it’s better to focus on general troubleshooting steps.
+
+How do you search for and find the correct runbooks?
+
+> Runbooks should be linked directly in the alert you receive. For example, if you get an alert about a service not running, the alert will have a link to the runbook that tells you what to check, like logs or commands to run. Runbooks are best stored in an internal wiki, so if you don’t find the link in the alert, you know where to search. The important thing is that runbooks are easy to find and up to date because that’s what makes them useful during incidents.
+
+Do you have an interesting war story you can share with us?
+
+> Sure. At 1&1, we had a proprietary ad server software that ran a SQL query during startup. The query got slower over time, eventually timing out and preventing the server from starting. Since we couldn’t access the source code, we searched the binary for the SQL and patched it. By pinpointing the issue, a developer was able to adjust the SQL. This collaboration between sysadmin and developer perspectives highlights the value of SRE work.
+
+## Working with Different Teams
+
+You’re embedded in a team-how does collaboration with developers work practically?
+
+> We plan everything together from the start. If there’s a new feature, we discuss infrastructure, automated deployments, and monitoring right away. Developers are experts in the code, and I bring the infrastructure expertise. This avoids unpleasant surprises before going live.
+
+How about working with data scientists or ML engineers? Are there differences?
+
+> The principles are the same. ML models also need to be deployed and monitored. You deal with monitoring, resource allocation, and identifying performance drops. Whether it’s a microservice or an ML job, at the end of the day, it’s all running on servers or clusters that must remain stable.
+
+What about working with managers or the FinOps team?
+
+> We often discuss costs, especially in the cloud, where scaling up resources is easy. It’s crucial to know our metrics: do we have enough capacity? Do we need all instances? Or is the CPU only at 5% utilization? This data helps managers decide whether the budget is sufficient or if optimizations are needed.
+
+Do you have practical tips for working with SREs?
+
+> Yes, I have a few:
+
+* Early involvement: Include SREs from the beginning in your project.
+* Runbooks & documentation: Document recurring errors.
+* Try first: Try to understand the issue yourself before immediately asking the SRE.
+* Basic infra knowledge: Kubernetes and Terraform aren’t magic. Some basic understanding helps every developer.
+
+## Using AI Tools
+
+Let’s talk about AI. How do you use it in your daily work?
+
+> For boilerplate code, like Terraform snippets, I often use ChatGPT. It saves time, although I always review and adjust the output. Log analysis is another exciting application. Instead of manually going through millions of lines, AI can summarize key outliers or errors.
+
+Do you think AI could largely replace SREs or significantly change the role?
+
+> I see AI as an additional tool. SRE requires a deep understanding of how distributed systems work internally. While AI can assist with routine tasks or quickly detect anomalies, human expertise is indispensable for complex issues.
+
+## SRE Learning Resources
+
+What resources would you recommend for learning about SRE?
+
+> The Google SRE book is a classic, though a bit dry. I really like 'Seeking SRE,' as it offers various perspectives on SRE, with many practical stories from different companies.
+
+[https://sre.google/books/](https://sre.google/books/)
+[Seeking SRE](https://www.oreilly.com/library/view/seeking-sre/9781491978856)
+
+Do you have a podcast recommendation?
+
+> The Google SRE prodcast is quite interesting. It offers insights into how Google approaches SRE, along with perspectives from external guests.
+
+[https://sre.google/prodcast/](https://sre.google/prodcast/)
+
+## Blogging
+
+You also have a blog. What motivates you to write regularly?
+
+> Writing helps me learn the most. It also serves as a personal reference. Sometimes I look up how I solved a problem a year ago. And of course, others tackling similar projects might find inspiration in my posts.
+
+What do you blog about?
+
+> Mostly technical topics I find exciting, like homelab projects, Kubernetes, or book summaries on IT and productivity. It’s a personal blog, so I write about what I enjoy.
+
+## Wrap-up
+
+To wrap up, what are three things every team should keep in mind for stability?
+
+> First, maintain runbooks and documentation to avoid chaos at night. Second, automate everything-manual installs in production are risky. Third, define SLIs, SLOs, and SLAs early so everyone knows what we’re monitoring and guaranteeing.
+
+Is there a motto or mindset that particularly inspires you as an SRE?
+
+> "Keep it simple and stupid"-KISS. Not everything has to be overly complex. And always stay curious. I’m still fascinated by how systems work under the hood.
+
+Where can people find you online?
+
+> You can find links to my socials on my website paul.buetow.org
+> I regularly post articles and link to everything else I’m working on outside of work.
+
+[https://paul.buetow.org](https://paul.buetow.org)
+
+Thank you very much for your time and this insightful interview into the world of site reliability engineering
+
+> My pleasure, this was fun.
+
+## Closing comments
+
+Dear reader, I hope this conversation with Paul Bütow provided an exciting peak into the world of Site Reliability Engineering. Whether you’re a software developer, data scientist, ML engineer, or manager, reliable systems are always a team effort. Hopefully, you’ve taken some insights or tips from Paul’s experiences for your own team or next project. Thanks for joining us, and best of luck refining your own SRE practices!
+
+E-Mail your comments to `paul@nospam.buetow.org` :-)
+
+[Back to the main site](../)
diff --git a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-bhyve.md b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-bhyve.md
index 4d769fe2..d9932801 100644
--- a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-bhyve.md
+++ b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-bhyve.md
@@ -16,12 +16,15 @@ This is the third blog post about my f3s series for my self-hosting demands in m
* [⇢ ⇢ ⇢ ISO download](#iso-download)
* [⇢ ⇢ ⇢ VM configuration](#vm-configuration)
* [⇢ ⇢ ⇢ VM installation](#vm-installation)
+* [⇢ ⇢ ⇢ Increase of the disk image](#increase-of-the-disk-image)
+* [⇢ ⇢ ⇢ Connect to VPN](#connect-to-vpn)
+* [⇢ ⇢ After install](#after-install)
## Introduction
In this blog post, we are going to install the Bhyve hypervisor.
-The FreeBSD Bhyve hypervisor is a lightweight, modern hypervisor that enables virtualization on FreeBSD systems. Bhyve's strengths include its minimal overhead, which allows it to achieve near-native performance for virtual machines. It is designed to be efficient and lightweight, leveraging the capabilities of the FreeBSD operating system for performance and network management.
+The FreeBSD Bhyve hypervisor is a lightweight, modern hypervisor that enables virtualization on FreeBSD systems. Bhyve's strengths include its minimal overhead, which allows it to achieve near-native performance for virtual machines. It is designed to be efficient and lightweight, leveraging the capabilities of the FreeBSD operating system for performance and network management.
Bhyve supports running a variety of guest operating systems, including FreeBSD, Linux, and Windows, on hardware platforms that support hardware virtualization extensions (such as Intel VT-x or AMD-V). In our case, we are going to virtualize Rocky Linux, which later on in this series will be used to run k3s.
@@ -34,35 +37,35 @@ For the management of the Bhyve VMs, we are using `vm-bhyve`, a tool not part of
The following commands are executed on all three hosts `f0`, `f1`, and `f2`, where `re0` is the name of the Ethernet interface (which may need to be adjusted if your hardware is different):
```sh
-paul@f2:~ % doas pkg install vm-bhyve bhyve-firmware
-paul@f2:~ % doas sysrc vm_enable=YES
+paul@f0:~ % doas pkg install vm-bhyve bhyve-firmware
+paul@f0:~ % doas sysrc vm_enable=YES
vm_enable: -> YES
-paul@f2:~ % doas sysrc vm_dir=zfs:zroot/bhyve
+paul@f0:~ % doas sysrc vm_dir=zfs:zroot/bhyve
vm_dir: -> zfs:zroot/bhyve
-paul@f2:~ % doas zfs create zroot/bhyve
-paul@f2:~ % doas vm init
-paul@f2:~ % doas vm create public
-paul@f2:~ % doas vm switch add public re0
+paul@f0:~ % doas zfs create zroot/bhyve
+paul@f0:~ % doas vm init
+paul@f0:~ % doas vm switch create public
+paul@f0:~ % doas vm switch add public re0
```
Bhyve stores all it's data in the `/bhyve` of the `zroot` ZFS pool:
```sh
-paul@f2:~ % zfs list | grep bhyve
+paul@f0:~ % zfs list | grep bhyve
zroot/bhyve 1.74M 453G 1.74M /zroot/bhyve
```
For convenience, we also create this symlink:
```sh
-paul@f2:~ % doas ln -s /zroot/bhyve/ /bhyve
+paul@f0:~ % doas ln -s /zroot/bhyve/ /bhyve
```
Now, Bhyve is ready to rumble, but no VMs are there yet:
```sh
-paul@f2:~ % doas vm list
+paul@f0:~ % doas vm list
NAME DATASTORE LOADER CPU MEMORY VNC AUTO STATE
```
@@ -73,17 +76,17 @@ NAME DATASTORE LOADER CPU MEMORY VNC AUTO STATE
We're going to install the Rocky Linux from the latest minimal iso:
```sh
-paul@f2:~ % doas vm iso \
+paul@f0:~ % doas vm iso \
https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.5-x86_64-minimal.iso
/zroot/bhyve/.iso/Rocky-9.5-x86_64-minimal.iso 1808 MB 4780 kBps 06m28s
-paul@f2:/bhyve % doas vm create rocky
+paul@f0:/bhyve % doas vm create rocky
```
### VM configuration
The default configuration looks like this now:
```sh
-paul@f2:/bhyve/rocky % cat rocky.conf
+paul@f0:/bhyve/rocky % cat rocky.conf
loader="bhyveload"
cpu=1
memory=256M
@@ -95,12 +98,30 @@ uuid="1c4655ac-c828-11ef-a920-e8ff1ed71ca0"
network0_mac="58:9c:fc:0d:13:3f"
```
-but in order to make Rocky Linux boot, it...
+Whereas the `uuid` and the `network0_mac` differ on each of the 3 hosts.
+
+but in order to make Rocky Linux boot it (plus some other adjustments, e.g. as I am intending to run the majority of the workload in the k3s cluster running on those linux VMs, I give them beefy specs like 4 CPU cores and 14GB RAM), I modified it to:
+
+```sh
+guest="linux"
+loader="uefi"
+uefi_vars="yes"
+cpu=4
+memory=14G
+network0_type="virtio-net"
+network0_switch="public"
+disk0_type="virtio-blk"
+disk0_name="disk0.img"
+graphics="yes"
+graphics_vga=io
+uuid="1c45400b-c828-11ef-8871-e8ff1ed71cac"
+network0_mac="58:9c:fc:0d:13:3f"
+```
### VM installation
```sh
-paul@f2:~ % doas vm install rocky Rocky-9.5-x86_64-minimal.iso
+paul@f0:~ % doas vm install rocky Rocky-9.5-x86_64-minimal.iso
Starting rocky
* found guest in /zroot/bhyve/rocky
* booting...
@@ -115,6 +136,44 @@ root bhyve 6079 8 tcp4 *:5900 *:*
Port 5900 is now also open for VNC connections, so we connect to it with a VNC client and run through the installation dialogs. I'm sure this could be done unattended or more automated, but we have only 3 VMs to install, and the automation doesn't seem worth it as we are doing it only once.
+### Increase of the disk image
+
+By default the VMs disk image is only 20G, which is a bit small for my purposes, so I stopped the VMs again and run `truncate` on the image file to enlarge them to 100G, and re-started the installation:
+
+```sh
+paul@f0:/bhyve/rocky % doas vm stop rocky
+paul@f0:/bhyve/rocky % doas truncate -s 100G disk0.img
+paul@f0:/bhyve/rocky % doas vm install rocky Rocky-9.5-x86_64-minimal.iso
+```
+
+### Connect to VPN
+
+For the installation, I opened the VPN client on my Fedora laptop (GNOME comes with a simple VPN client) and ran through the base installation for each of the VMs manually. I am sure this could have been automated a bit more, but there were just 3 VMs, and it wasn't worth the effort. The three VNC addresses of the VMs were: `vnc://f0:5900`, `vnc://f1:5900`, and `vnc://f0:5900`.
+
+I mostly selected the default settings (auto partitioning on the 100GB drive and a root user password). After the installation, the VMs were rebooted.
+
+## After install
+
+After that, I changed the network configuration to be static here as well.
+
+As per previous post of this series, the 3 FreeBSD hosts were already in my `/etc/hosts` file:
+
+```
+192.168.1.130 f0 f0.lan f0.lan.buetow.org
+192.168.1.131 f1 f1.lan f1.lan.buetow.org
+192.168.1.132 f2 f2.lan f2.lan.buetow.org
+```
+
+For the Rocky VMs I added those:
+
+```sh
+cat <<END >>/etc/hosts
+192.168.1.120 r0 r0.lan r0.lan.buetow.org
+192.168.1.121 r1 r1.lan r1.lan.buetow.org
+192.168.1.122 r2 r2.lan r2.lan.buetow.org
+END
+```
+and configured the IPs accordingly on the VMs themselves.
Other *BSD-related posts:
diff --git a/gemfeed/index.md b/gemfeed/index.md
index eeaa7d8c..1650a18b 100644
--- a/gemfeed/index.md
+++ b/gemfeed/index.md
@@ -2,6 +2,7 @@
## To be in the .zone!
+[2025-01-15 - Working with an SRE Interview](./2025-01-15-working-with-an-sre-interview.md)
[2025-01-01 - Posts from October to December 2024](./2025-01-01-posts-from-october-to-december-2024.md)
[2024-12-15 - Random Helix Themes](./2024-12-15-random-helix-themes.md)
[2024-12-03 - f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./2024-12-03-f3s-kubernetes-with-freebsd-part-2.md)
diff --git a/index.md b/index.md
index f293341e..68152c70 100644
--- a/index.md
+++ b/index.md
@@ -1,6 +1,6 @@
# foo.zone
-> This site was generated at 2025-01-12T12:23:18+02:00 by `Gemtexter`
+> This site was generated at 2025-01-15T00:16:04+02:00 by `Gemtexter`
Welcome to the foo.zone. Everything you read on this site is my personal opinion and experience. You can call me a Linux/*BSD enthusiast and hobbyist. I mainly write about tech, IT, programming and sometimes also about self-improvement here. And I also like coding.
@@ -28,6 +28,7 @@ Welcome to the foo.zone. Everything you read on this site is my personal opinion
### Posts
+[2025-01-15 - Working with an SRE Interview](./gemfeed/2025-01-15-working-with-an-sre-interview.md)
[2025-01-01 - Posts from October to December 2024](./gemfeed/2025-01-01-posts-from-october-to-december-2024.md)
[2024-12-15 - Random Helix Themes](./gemfeed/2024-12-15-random-helix-themes.md)
[2024-12-03 - f3s: Kubernetes with FreeBSD - Part 2: Hardware and base installation](./gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.md)
diff --git a/uptime-stats.md b/uptime-stats.md
index 8e2147b1..0c2a6a0c 100644
--- a/uptime-stats.md
+++ b/uptime-stats.md
@@ -1,6 +1,6 @@
# My machine uptime stats
-> This site was last updated at 2025-01-12T12:23:18+02:00
+> This site was last updated at 2025-01-15T00:16:04+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.