From d84f446aaff4b13e017f1076ab2d84c4011bc6b2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 16 Nov 2024 23:46:36 +0200 Subject: Update content for gemtext --- ...24-11-17-f3s-kubernetes-with-freebsd-part-1.gmi | 10 +++--- ...1-17-f3s-kubernetes-with-freebsd-part-1.gmi.tpl | 6 ++-- ...-f3s-kubernetes-with-freebsd-hardware-setup.gmi | 39 ++++++++++++++++++++++ gemfeed/atom.xml | 12 +++---- 4 files changed, 53 insertions(+), 14 deletions(-) create mode 100644 gemfeed/DRAFT-f3s-kubernetes-with-freebsd-hardware-setup.gmi (limited to 'gemfeed') diff --git a/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi b/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi index 02b864ee..83718cba 100644 --- a/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi +++ b/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi @@ -24,9 +24,9 @@ Let's begin... * ⇢ ⇢ Data integrity * ⇢ ⇢ ⇢ Periodic backups * ⇢ ⇢ ⇢ Power protection -* ⇢ ⇢ Monitoring: Keeping an Eye on Everything +* ⇢ ⇢ Monitoring: Keeping an eye on everything * ⇢ ⇢ ⇢ Prometheus and Grafana -* ⇢ ⇢ ⇢ Gogios: My Custom Alerting System +* ⇢ ⇢ ⇢ Gogios: My custom alerting system * ⇢ ⇢ What's after this all? ## Why this setup? @@ -112,7 +112,7 @@ The backup scripts also perform some zpool scrubbing now and then. A scrub once Power outages are regularly in my area, so a UPS keeps the infrastructure running during short outages and protects the hardware. I'm still trying to decide which hardware to get, and I still need one, as my previous NAS is simply an older laptop that already has a battery for power outages. However, there are plenty of options to choose from. My main criterion is that the UPS should be silent, as the whole setup will be installed in an upper shelf unit in my daughter's room. ;-) -## Monitoring: Keeping an Eye on Everything +## Monitoring: Keeping an eye on everything Robust monitoring is vital to any infrastructure, especially one as distributed as mine. I've thought about a setup that ensures I'll always be aware of what's happening in my environment. @@ -126,7 +126,7 @@ For visualization, Grafana will be deployed alongside Prometheus. Grafana lets m => https://grafana.com -### Gogios: My Custom Alerting System +### Gogios: My custom alerting system Alerts generated by Prometheus are forwarded to Alertmanager, which I will configure to work with Gogios, a lightweight monitoring and alerting system I wrote myself. Gogios runs on one of my OpenBSD VMs. At regular intervals, Gogios scrapes the alerts generated in the k3s cluster and notifies me via Email. @@ -136,7 +136,7 @@ Ironically, I implemented Gogios to avoid using more complex alerting systems li ## What's after this all? -This setup is just the beginning. Some ideas I'm thinking about for the future: +This setup may be just the beginning. Some ideas I'm thinking about for the future: * Adding more FreeBSD nodes (in different physical locations, maybe at my wider family's places?) for better redundancy. (HA storage then might be trickier) * Deploying more Docker apps (data-intensive ones, like a picture gallery, my entire audiobook catalogue, or even a music server) to k3s. diff --git a/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi.tpl b/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi.tpl index 942a6d6a..c1bb568b 100644 --- a/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi.tpl +++ b/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi.tpl @@ -97,7 +97,7 @@ The backup scripts also perform some zpool scrubbing now and then. A scrub once Power outages are regularly in my area, so a UPS keeps the infrastructure running during short outages and protects the hardware. I'm still trying to decide which hardware to get, and I still need one, as my previous NAS is simply an older laptop that already has a battery for power outages. However, there are plenty of options to choose from. My main criterion is that the UPS should be silent, as the whole setup will be installed in an upper shelf unit in my daughter's room. ;-) -## Monitoring: Keeping an Eye on Everything +## Monitoring: Keeping an eye on everything Robust monitoring is vital to any infrastructure, especially one as distributed as mine. I've thought about a setup that ensures I'll always be aware of what's happening in my environment. @@ -111,7 +111,7 @@ For visualization, Grafana will be deployed alongside Prometheus. Grafana lets m => https://grafana.com -### Gogios: My Custom Alerting System +### Gogios: My custom alerting system Alerts generated by Prometheus are forwarded to Alertmanager, which I will configure to work with Gogios, a lightweight monitoring and alerting system I wrote myself. Gogios runs on one of my OpenBSD VMs. At regular intervals, Gogios scrapes the alerts generated in the k3s cluster and notifies me via Email. @@ -121,7 +121,7 @@ Ironically, I implemented Gogios to avoid using more complex alerting systems li ## What's after this all? -This setup is just the beginning. Some ideas I'm thinking about for the future: +This setup may be just the beginning. Some ideas I'm thinking about for the future: * Adding more FreeBSD nodes (in different physical locations, maybe at my wider family's places?) for better redundancy. (HA storage then might be trickier) * Deploying more Docker apps (data-intensive ones, like a picture gallery, my entire audiobook catalogue, or even a music server) to k3s. diff --git a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-hardware-setup.gmi b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-hardware-setup.gmi new file mode 100644 index 00000000..5ee72e5c --- /dev/null +++ b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-hardware-setup.gmi @@ -0,0 +1,39 @@ +# f3s: Kubernetes with FreeBSD - Setting the stage - Part 1 + +> Published at 2024-11-16T23:20:14+02:00 + +This is the second blog post about my f3s series for my self-hosting demands in my home lab. f3s? The "f" stands for FreeBSD, and the "3s" stands for k3s, the Kubernetes distribution I will use on FreeBSD-based physical machines. + +I will post a new entry every month or so (there are too many other side projects for more frequent updates—I bet you can understand). + +=> ./2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi 2024-11-17 f3s: Kubernetes with FreeBSD - Setting the stage - Part 1 + +=> ./f3s-kubernetes-with-freebsd-part-1/f3slogo.png f3s logo + +Let's begin... + +## Table of Contents + +* ⇢ f3s: Kubernetes with FreeBSD - Setting the stage - Part 1 + +## + +Hardware + photos + basic unpacking +Base os insallation (FreeBSD) +* static IPs +* utimed +* bhyve setup +* minimal rocky linux installs, with staic IPs + +Other *BSD-related posts: + +=> ./2016-04-09-jails-and-zfs-on-freebsd-with-puppet.gmi 2016-04-09 Jails and ZFS with Puppet on FreeBSD +=> ./2022-07-30-lets-encrypt-with-openbsd-and-rex.gmi 2022-07-30 Let's Encrypt with OpenBSD and Rex +=> ./2022-10-30-installing-dtail-on-openbsd.gmi 2022-10-30 Installing DTail on OpenBSD +=> ./2024-01-13-one-reason-why-i-love-openbsd.gmi 2024-01-13 One reason why I love OpenBSD +=> ./2024-04-01-KISS-high-availability-with-OpenBSD.gmi 2024-04-01 KISS high-availability with OpenBSD +=> ./2024-11-17-f3s-kubernetes-with-freebsd-part-1.gmi 2024-11-17 f3s: Kubernetes with FreeBSD - Setting the stage - Part 1 + +E-Mail your comments to `paul@nospam.buetow.org` :-) + +=> ../ Back to the main site diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 347d23d7..51aa97ac 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2024-11-16T23:34:14+02:00 + 2024-11-16T23:45:38+02:00 foo.zone feed To be in the .zone! @@ -45,9 +45,9 @@
  • Data integrity
  • ⇢ ⇢ Periodic backups
  • ⇢ ⇢ Power protection
  • -
  • Monitoring: Keeping an Eye on Everything
  • +
  • Monitoring: Keeping an eye on everything
  • ⇢ ⇢ Prometheus and Grafana
  • -
  • ⇢ ⇢ Gogios: My Custom Alerting System
  • +
  • ⇢ ⇢ Gogios: My custom alerting system
  • What's after this all?

  • Why this setup?


    @@ -134,7 +134,7 @@
    Power outages are regularly in my area, so a UPS keeps the infrastructure running during short outages and protects the hardware. I'm still trying to decide which hardware to get, and I still need one, as my previous NAS is simply an older laptop that already has a battery for power outages. However, there are plenty of options to choose from. My main criterion is that the UPS should be silent, as the whole setup will be installed in an upper shelf unit in my daughter's room. ;-)

    -

    Monitoring: Keeping an Eye on Everything


    +

    Monitoring: Keeping an eye on everything



    Robust monitoring is vital to any infrastructure, especially one as distributed as mine. I've thought about a setup that ensures I'll always be aware of what's happening in my environment.

    @@ -148,7 +148,7 @@
    https://grafana.com

    -

    Gogios: My Custom Alerting System


    +

    Gogios: My custom alerting system



    Alerts generated by Prometheus are forwarded to Alertmanager, which I will configure to work with Gogios, a lightweight monitoring and alerting system I wrote myself. Gogios runs on one of my OpenBSD VMs. At regular intervals, Gogios scrapes the alerts generated in the k3s cluster and notifies me via Email.

    @@ -158,7 +158,7 @@

    What's after this all?



    -This setup is just the beginning. Some ideas I'm thinking about for the future:
    +This setup may be just the beginning. Some ideas I'm thinking about for the future: