From 86a62d6b67bc8e2dbf0e198a53b728ac824e4ea2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 31 Dec 2025 17:30:45 +0200 Subject: Update content for html --- ...ernetes-with-freebsd-part-X-OBSERVABILITY2.html | 154 ------------------- gemfeed/DRAFT-using-supernote-nomad-offline.html | 166 --------------------- 2 files changed, 320 deletions(-) delete mode 100644 gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-X-OBSERVABILITY2.html delete mode 100644 gemfeed/DRAFT-using-supernote-nomad-offline.html (limited to 'gemfeed') diff --git a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-X-OBSERVABILITY2.html b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-X-OBSERVABILITY2.html deleted file mode 100644 index 44048b17..00000000 --- a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-X-OBSERVABILITY2.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - -f3s: Kubernetes with FreeBSD - Part 9: Enabling etcd Metrics - - - - - -

-Home | Markdown | Gemini -

-

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
-
-

Enabling etcd metrics in k3s


-
-On each control-plane node (r0, r1, r2), create /etc/rancher/k3s/config.yaml:
-
-
-etcd-expose-metrics: true
-
-
-Then restart k3s on each node:
-
-
-systemctl restart k3s
-
-
-After restarting, etcd metrics are available on port 2381:
-
-
-curl http://127.0.0.1:2381/metrics | grep etcd
-
-
-

Configuring Prometheus to scrape etcd


-
-In persistence-values.yaml, enable kubeEtcd with the node IP addresses:
-
-
-kubeEtcd:
-  enabled: true
-  endpoints:
-    - 192.168.1.120
-    - 192.168.1.121
-    - 192.168.1.122
-  service:
-    enabled: true
-    port: 2381
-    targetPort: 2381
-
-
-Apply the changes:
-
-
-just upgrade
-
-
-

Verifying etcd metrics


-
-After the changes, all etcd targets are being scraped:
-
-
-kubectl exec -n monitoring prometheus-prometheus-kube-prometheus-prometheus-0 \
-  -c prometheus -- wget -qO- 'http://localhost:9090/api/v1/query?query=etcd_server_has_leader' | \
-  jq -r '.data.result[] | "\(.metric.instance): \(.value[1])"'
-
-
-Output:
-
-
-192.168.1.120:2381: 1
-192.168.1.121:2381: 1
-192.168.1.122:2381: 1
-
-
-The etcd dashboard in Grafana now displays metrics including Raft proposals, leader elections, and peer round trip times.
-
-

Complete persistence-values.yaml


-
-The complete updated persistence-values.yaml:
-
-
-kubeEtcd:
-  enabled: true
-  endpoints:
-    - 192.168.1.120
-    - 192.168.1.121
-    - 192.168.1.122
-  service:
-    enabled: true
-    port: 2381
-    targetPort: 2381
-
-prometheus:
-  prometheusSpec:
-    additionalScrapeConfigsSecret:
-      enabled: true
-      name: additional-scrape-configs
-      key: additional-scrape-configs.yaml
-    storageSpec:
-      volumeClaimTemplate:
-        spec:
-          storageClassName: ""
-          accessModes: ["ReadWriteOnce"]
-          resources:
-            requests:
-              storage: 10Gi
-          selector:
-            matchLabels:
-              type: local
-              app: prometheus
-
-grafana:
-  persistence:
-    enabled: true
-    type: pvc
-    existingClaim: "grafana-data-pvc"
-
-  initChownData:
-    enabled: false
-
-  podSecurityContext:
-    fsGroup: 911
-    runAsUser: 911
-    runAsGroup: 911
-
-
-

Summary


-
-Enabled etcd metrics monitoring for the k3s embedded etcd by:
-
-
-The etcd dashboard now provides visibility into cluster health, leader elections, and Raft consensus metrics.
-
-prometheus configuration on Codeberg
- - - diff --git a/gemfeed/DRAFT-using-supernote-nomad-offline.html b/gemfeed/DRAFT-using-supernote-nomad-offline.html deleted file mode 100644 index d0c9140f..00000000 --- a/gemfeed/DRAFT-using-supernote-nomad-offline.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -Using Supernote Nomad offline - - - - - -

-Home | Markdown | Gemini -

-

Using Supernote Nomad offline


-
-I am a note taker. For years, I've been searching for a good digital device that could complement my paper notebooks. I've finally found it in the Supernote Nomad. I use it completely offline without cloud-sync, and in this post, I'll explain why this is a benefit.
-
-
-Supernote Nomad
-
-I initially bought it because Retta stated on their website that an open-source Linux firmware would be released soon. However, after over a year, there still hasn't been any progress (hopefully there will be someday). So I looked into alternative ways to use this device.
-
-
-⣿⣿⣿⣿⣿⣿⡿⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
-⣿⣿⣿⣿⣿⣏⠀⢶⣆⡘⠉⠙⠛⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
-⣿⣿⣿⣿⣿⠋⣤⣄⠘⠃⢠⣀⣀⠀⠀⠀⠀⠀⠉⠉⠛⠛⠿⢿⣿⣿⣿⣿⣿⣿
-⣿⣿⣿⣿⡿⠀⡉⠻⡟⠀⠈⠉⠙⠛⠷⠶⣦⣤⣄⣀⠀⠀⠀⠀⠀⣾⣿⣿⣿⣿
-⣿⣿⣿⣿⡄⠸⢿⣤⠀⢠⣤⣀⡀⠀⠀⠀⠀⠀⠉⠙⠛⠻⠶⠀⢰⣿⣿⠻⣿⣿
-⣿⣿⣿⣿⠠⣶⣆⡉⠀⠀⠈⠉⠙⠛⠳⠶⠦⣤⣤⣄⣀⡀⢀⣴⠟⠋⠙⢷⣬⣿
-⣿⣿⣿⠏⣠⡄⠹⠁⠰⢶⣤⣤⣀⡀⠀⠀⠀⠀⠀⠉⢉⣿⠟⠁⠀⠀⣠⣾⣿⣿
-⣿⣿⡿⠂⠙⠻⡆⠀⠀⠀⠀⠈⠉⠛⠛⠷⠶⣦⣤⣴⠟⠁⠀⠀⣠⣾⣿⣿⣿⣿
-⣿⣿⡇⠸⣿⣄⠀⠰⠶⢶⣤⣄⣀⡀⠀⠀⠀⣴⣟⠁⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿
-⣿⡟⠀⣶⣀⠃⠀⠀⠀⠀⠀⠈⠉⠙⠛⠓⢾⡟⢙⣷⣤⢾⣿⣿⣿⣿⣿⣿⣿⣿
-⣿⠋⣀⡉⠻⠀⠘⠛⠻⠶⢶⣤⣤⣀⡀⢠⠿⠟⠛⠉⠁⣸⣿⣿⣿⣿⣿⣿⣿⣿
-⣿⡀⠛⠳⠆⠀⠀⠀⠀⠀⠀⠀⠉⠉⠛⠛⠷⠶⣦⠄⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿
-⣿⣿⣿⣶⣦⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿
-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣤⣤⣀⣀⠀⠀⠀⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
-
-
-

Table of Contents


-
-
-

The Joy of Being Offline


-
-In a world of constant connectivity, the Supernote Nomad offers a sanctuary. By keeping it offline, I can focus on my thoughts and notes without compromise of my privacy.
-
-

Battery for Days


-
-One of the most significant advantages of keeping Wi-Fi off is the battery life. The Supernote Nomad can last a week, on a single charge when it's not constantly searching for a network. This makes it a good companion for long trips or intense note-taking sessions.
-
-

Your Data is Your Data


-
-Privacy was my main concern. By not syncing my notes to Retta's cloud service, I retain full ownership and control over my data. There's no risk of my personal thoughts and ideas being accessed or mined by third parties. It's a simple and effective way to ensure my privacy.
-
-A picture of the Supernote Nomad
-
-

My Offline Workflow


-
-My workflow is simple and efficient, relying on a direct USB connection to my Linux laptop.
-
-

Getting Notes to my Laptop


-
-I connect my Supernote Nomad to my Linux laptop via a USB-C cable. The device is automatically recognized as a storage device, and I can directly access the Note folder, which contains all my notes as .note files. I then copy these files to a dedicated archive folder on my laptop.
-
-

Converting Notes to PDF


-
-To make my notes accessible and shareable, I convert them from the proprietary .note format to PDF. For this, I use a fantastic open-source tool called supernote-tool. It's not an official tool from Ratta (the manufacturer of the Supernote), but it works flawlessly.
-
-https://github.com/jya-dev/supernote-tool
-
-I've created a small shell script to automate the conversion process. This script, convert-notes-to-pdfs.sh, resides in my notes archive folder:
-
- -
#!/usr/bin/env bash
-
-convert () {
-  find . -name \*.note \
-    | while read -r note; do
-        echo supernote-tool convert -a -t pdf "$note" "${note/.note/.pdf}"
-        supernote-tool convert -a -t pdf "$note" "${note/.note/.pdf}.tmp"
-        mv "${note/.note/.pdf}.tmp" "${note/.note/.pdf}"
-        du -hs "$note" "${note/.note/.pdf}"
-        echo
-      done
-}
-
-# Mage the PDFs available on my Phone as well
-copy () {
-  if [ ! -d ~/Documents/Supernote ]; then
-    echo "Directory ~/Documents/Supernote does not exist, skipping"
-    exit 1
-  fi
-
-  rsync -delete -av --include='*/' --include='*.pdf' --exclude='*' . ~/Documents/Supernote/
-  echo This was copied from $(pwd) so dont edit manually >~/Documents/Supernote/README.txt
-}
-
-convert
-copy
-
-
-This script does two things:
-
-
-

Syncing to my Phone


-
-The ~/Documents/Supernote folder on my laptop is synchronized with my phone using Syncthing. This way, I have access to all my notes in PDF format on my phone, wherever I go, without relying on any cloud service.
-
-https://syncthing.net/
-
-

Firmware updates


-
-One usually updates the software or firmware of the Supernote Nomad via Wi-Fi. However, it is also possible to update it completely offline. To install the firmware update, follow the steps below (the following instructions were copied from the Supernote website):
-
-
-

The Writing Experience


-
-The writing feel of the Supernote Nomad is simply great. The combination of the screen's texture and the ceramic nib of the pen creates a feeling that is remarkably close to writing on real paper. The latency is almost non-existent, and the pressure sensitivity allows for a natural and expressive writing experience. It's great to write on, and it makes me want to take more notes.
-
-Another picture of the Supernote Nomad
-
-

Conclusion


-
-The Supernote Nomad has become an additional tool for me. By using it offline, I've created a distraction-free and private note-taking environment. The simple, manual workflow for transferring and converting notes gives me full control over my data, and the writing experience is second to none. If you're looking for a digital notebook that respects your privacy and helps you focus, I highly recommend giving the Supernote Nomad a try with an offline-first approach.
-
-The Supernote didn't fully replace my traditional paper journals, though. Each of them has its own use case. However, that is outside the scope of this blog post.
-
-Other related posts:
-
-2026-01-01 Cloudless Kobo Forma with KOReader
-
-E-Mail your comments to paul@nospam.buetow.org :-)
-
-Back to the main site
- - - -- cgit v1.2.3