Fluent Bit Elastic Search Data Type Filter

Fluent Bit Elastic Search Data Type Filter

Summary I have created a Fluent Bit LUA Filter to force proper data types to be send to our Elastic Search (log collector) Database, to prevent Elastic from rejecting the log records. GitHub Project: https://github.com/atkaper/fluent-bit-lua-filter-elastic-data-types Environment We are running a bunch of (on premise) Kubernetes clusters, all having around 20 nodes, with many deployments on it. The deployments use different technologies; Java, Kotlin, Node.js, GO, Python, C, … and quite some standard open source applications. Most of them have been…

Read More Read More

K8S Tiller/Helm History Cleanup

K8S Tiller/Helm History Cleanup

GitHub Project: https://github.com/atkaper/k8s-tiller-history-cleanup Introduction In our on premise Kubernetes cluster, we use Helm for a big part of our application / micro-services deployments. Helm uses an engine called Tiller (which is a deployment in the cluster). It executes the installs / updates / deletes, and it stores the results of deployments in the system as config maps. While migrating our applications to a new K8S cluster, we saw that we forgot to set a limit on the history which is…

Read More Read More

Duplicate unprotected Mifare Classic NFC Card

Duplicate unprotected Mifare Classic NFC Card

Where I live, they have changed the way they pickup garbage. Only plastic, paper, and green-stuff will be picked up (in separate bins). And the ordinary (formerly grey) trash you need to bring to one of the central bins in the neighborhood (and glass you have to bring to the bins at the shopping mall). So, those central “grey” bins… to prevent just anyone from dropping stuff in there, you need to use an RFID badge to open it up….

Read More Read More

Sonoff Firmware Update – Lava-lamp Switch

Sonoff Firmware Update – Lava-lamp Switch

I have a lava-lamp, which should not be on for more than 5 or 6 hours at a time. So I decided to move it from switching on/off manually to something a bit more automated. For this I reprogrammed a Sonoff WiFi switch (based on the ESP8266). Now it can be controlled via voice commands (via Alexa / Amazon’s Echo Dot), and via some simple CURL (Wifi) command line call’s. The curl’s are put in a cron (timer) process on…

Read More Read More

WordPress Plugin – Meta Robots

WordPress Plugin – Meta Robots

Mini project of the day… I did create a tiny WordPress plugin, to add a meta robots header to some of my pages, to prevent them from being indexed by google and other search engines. So without further ado, here’s the source code, to be put in a file: wp-content/plugins/meta-robots/meta_robots.php in your WordPress installation folder: After adding this code, go to your plugin configuration, and enable the plugin. It should show up in the list automatically. To enable the header,…

Read More Read More

3D Printed Bathroom Cabinet Shelf Finishing Strip

3D Printed Bathroom Cabinet Shelf Finishing Strip

The shelves in my bathroom (mirror) cabinet do have fixed positions. So when trying to put an electric (standing) toothbrush in there, it would not fit. So I just took out a bit of one of the shelves. And this left an ugly front side of the shelf, which needed some solution. First attempt was just using a bit of electric isolation tape; Of course this works fine (a bit shabby, but it’s juts a normally closed cupboard). But as…

Read More Read More

SEO Wisdoms

SEO Wisdoms

Or: how to get your data to be found on the internet… Intro So… at the office we were moving from one web mail/storage system to another (too bad, not getting any better), and we had to go through our old documents to determine what to keep. And in the pile of stuff to check, there was a nice photo of some Search Engine Optimization (SEO) rules which will (probably?) never get old. We did have these rules up on…

Read More Read More