Network sniffing on Kubernetes

Background Yesterday I faced some issues with an application running on my private k8s cluster. I assumed some kind of networking issue. Therefore, I wanted to sniff the network traffic, in order to find out what was going on. However, I had no idea how to do it. Sure, the web helped in this case. The solution was ksniff. What is ksniff? Ksniff is a plugin for kubectl that can be installed via krew, a plugin manager for kubectl....

January 27, 2022 · 2 min · Dario

Let's Encrypt on Kubernetes

Background Not long ago I have decided to move all of my workloads running in my home lab to Kubernetes. I wanted to learn more about Kubernetes and even practice for the Certified Kubernetes Administrator (CKA) exam. So I deployed two Ubuntu Server 20.04 machines on top of my Esxi node. One for the master node and one for the worker node. Naturally I wanted to encrypt the access to the Kubernetes Ingress resources via trusted certificates instead of the default ones....

October 7, 2021 · 3 min · Dario

Logfiles mit Loki

Nicht immer läuft alles reibungslos Mittlerweile betreibe ich meine Applikationen fast nur noch als Docker Container. Jeder der bereits einmal mit Docker gearbeitet hat, weiss das Container plötzlich stoppen können oder schon gar nicht starten. Tritt dieser Fall ein, kommt meistens der Befehle docker logs zum Einsatz. Gerade wenn das Log grösser ist, kann sich die Analyse des Logs mühsam gestalten. Irgendeinmal bin ich über Loki gestolpert. Darüber will ich dir jetzt mehr erzählen....

July 17, 2020 · 3 min · Dario