The complete guide to running Java in Docker and Kubernetes

4.42

Updated on

Course overview

Provider
Udemy
Course type
Paid course
Level
All Levels
Duration
5 hours
Lessons
31 lessons
Certificate
Available on completion
Course author
Christopher Batey
  • In depth knowledge of how Java works in a Container
  • Kubernetes & Docker
  • Containers in depth: Linux cgroups & namespaces
  • How to build a production-quality Docker image for JVM applications

Description

Running JVMs in containers, the hard bits explained! Everything you need to know to run containers in production

If you need to learn how to run, tune, and maintain JVM applications that run in Docker and/or Kubernetes then this is the course for you.

This course is very different from other Java/Docker/Kubernetes courses. It focuses on all the skills that you need to succeed in production.

All of the examples are in Java but the content is applicable for any JVM language including Scala, Groovy, and Kotlin.

We'll start with introductions for Docker and Kubernetes then we'll get into the fun stuff. We'll learn:

  • What a container is under the covers

  • Linux cgroups

  • Linux namespaces

Then we will go into how the JVM and your Java application behave differently in Kubernetes when running inside cgroups and namespaces. We'll cover:

  • JVM ergonomics

  • How CPU Shares and Quota work

  • How Kubernetes manages CPU and Memory

Then we will teach you all the techniques needed to build production-ready images:

  • Selecting a base image

  • JDK vs JRE based images

  • Multi-stage Docker builds

  • GraalVM

  • Class data sharing

  • Ahead of time compilation

We will experiment with different JVM versions and settings.

By the end of this course you'll know how to:

  • Build a production-ready image

  • Select between using CPU limits, quotas, or both in Kubernetes

  • Select memory limits and tune the JVM for running in Kubernetes

  • Understand CPU usage in Kubernetes and know why it is different to VMs and physical machines.



Similar courses

Docker and Kubernetes: The Complete Guide
  • 23 hours
  • 325 lessons
  • Certificate
The complete guide to running Java in Docker and Kubernetes
  • English language

  • Recommended provider

  • Certificate available