Categories
Kubernetes

How to resolve CreateContainerConfigError in Kubernetes

Kubernetes is the defacto container orchestration for deploying microservices in 2024. However, still, troubleshooting is not as easy as sshing to a machine and getting the output logs. In this article, we focus on how to resolve CreateContainerConfigError in Kubernetes. What is CreateContainerConfigError The error occurs when Kubernetes cannot create a configuration because there’s a […]

Categories
Kubernetes

Kubernetes resource allocation explained

Understanding Kubernetes resource allocation is crucial for optimizing performance and ensuring efficient utilization of resources within your cluster. In this article, we’ll delve deeper into CPU and memory allocation in Kubernetes deployments, providing clarity and examples to help you navigate this aspect of Kubernetes management. CPU allocation When defining resource requirements for a Kubernetes deployment, […]

Categories
Kubernetes Spring

Remote debug a Spring Boot application in Kubernetes

Sometimes, debugging an application locally is insufficient to pinpoint the underlying issue. Additionally, there are times when the infrastructure limitations do not allow one to debug an application. In such scenarios, remote debugging is a reasonable approach. However, that requires some preparations. In this article, we cover how to remote debug a Spring Boot application […]

Categories
Java Kubernetes

Capture Java apps heap dumps on Kubernetes (the poor man’s way)

One of the practices when dealing with memory leak issues is to take a heap dump and analyze it to figure out which part of the code is causing the leak. The method of capturing heap dump varies depending on the technology stack. It is not limited to a single silver bullet. Some frameworks like […]

Categories
Java Kubernetes

Confusion over Kubernetes out of memory with Java OOM

Recently I have faced a situation where one of the services I work within a Kubernetes cluster was getting restarted once an hour on average. Checking the logs obviously didn’t lead to anything useful. Except seeing that the JVM process suddenly got killed with no further error. To make the matter worse I observed that […]

Exit mobile version