-
Live numbers on a static site with cron-generated JSON
My homepage's pod count read 141, 159 and 154 within one hour, so every number on my static site now comes from a JSON file regenerated every 30 minutes. The design, and four mistakes it taught me.
-
Google Analytics with real consent mode on a self-hosted site
Analytics showed one visitor and I assumed it was broken: of 265 browser-like addresses in a day, only 21 rendered a page. How I then added Google Analytics in basic consent mode via nginx sub_filter.
-
The one-second race that hid my nginx config change
A Kubernetes rollout started a new pod one second before its ConfigMap was updated, and a subPath mount kept the old nginx config forever. How kubectl apply order and subPath combine, and the checklist that prevents it.