Skip to Main Content
Efficient Resource Management for Kubified Java Apps

About This Workshop

Youtube Video

About This Workshop
Authors: Elder Moraes, Developer Advocate, Red Hat & Ana-Maria Mihalceanu, Sr. Developer Advocate, Oracle.

In this session, we'll explore best practices and user settings to manage the application’s resources in a Kubernetes cluster. Since a load of cluster usage may increase rapidly due to traffic load and the number of applications deployed, it's better to set up resource quotas to keep the workloads running smoothly.

We’ll start by setting up a Quarkus application, increasing its complexity, and tailoring appropriate resource quotas for CPU and RAM. Moreover, we will look into using integration tests to validate Kubernetes/OpenShift resources prior to their actual deployment.

We will see how to monitor those workloads and finally, we'll cover performance and tuning aspects for production clusters.

Workshop Info

2 hours
  • Deploy to Kubernetes a Java application using Quarkus framework and its extensions.
  • Observe resource quotas to efficiently run the kubified application.
  • Observe and adjust memory and CPU consumed over time by a containerized Java application.
  • Create integration tests to validate Kubernetes/OpenShift resources before their actual deployment.

Basic knowledge of Java, Docker, Kubernetes

Tools Required:

  • Git 
  • Java 17
  • Docker 
  • VirtualBox
  • Minikube v1.25.1
  • kubectl v1.23.1
  • stern
  • Apache Maven 3.6.3
  • hey

Other Workshops you might like