Monthly Archives: April 2019


How to Connect JProfiler to a JVM Running in Kubernetes Pod

Running a JVM in Kubernetes Pod somewhat complicates things when it comes to connecting to it from an external profiler tool. Below is an example of how to accomplish just that with one such tool – JProfiler. A definitely not recommended approach is to “bake” JProfiler in the application’s image, which leads to tight coupling and larger application image. A better way is to use an Init Container. A Pod can have one or more Init Containers. For the most part, they are like regular Containers and have the property that once their execution completes successfully they are terminated; only […]