Java Debugging Part 4: Memory Leaks

Memory leaks are something particulary hard to debug. You know when they occured, because your program crashed with the uncaught excpetion OutOfMemoryError, but finding out what caused it can be a nightmare without the proper tools. Automatic Heap Dumps By adding -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<file-or-dir-path> to your…

Uncaught Exception Handlers

This has saved me countless hours of debugging hard to catch bugs, because I get the last exception logged, before a program/thread exits. Otherwise it would just exit quietly.…

Bare Metal Kubernetes Series - Part 4: Setting up Storage

No cluster is really complete unless you have storage that you can use unilaterally on any pod running in the cluster…

Bare Metal Kubernetes Series - Part 3: Bootstrapping the cluster

In this part we will actually start bootstrapping the kubernetes cluster, installing a network plugin and the dashboard…

Bare Metal Kubernetes Series - Part 1: Network setup

Setting up a kubernetes cluster, starts with having a properly configured network…