~/talk

Distilling Java Containers for Kubernetes

Talkat Developer Summit 2020 · 2020-11-21..11-22· [java, kubernetes]
links:none on file
slides:none on file

Java that used to over-allocate now respects container limits (use Java 8u191+ or later), and the demo actually shrinks a Spring Boot image from ~184 MB to ~84 MB on Alpine, to ~40 MB with JLink, and down to ~25 MB as a native image built into the container. The pipeline uses Docker multi-stage builds, JDeps analysis, and optional tools like dive and Docker Slim; ahead‑of‑time compilation via GraalVM yields much faster startup and lower memory, and the distilled binary runs correctly.

AI-written summary · about

  1. 0:00Introduction to Java containers
  2. 6:22Distillation pattern explained
  3. 17:12Java in containers challenges
  4. 22:32JLink and JVM optimizations
  5. 27:52Native image with GraalVM
  6. 36:46Hands-on demo setup
  7. 41:18Building fat Java container
  8. 43:11Switching to Alpine base
  9. 47:27Multi-stage Docker builds
  10. 50:38JLink for smaller JRE
  11. 54:31Native image compilation
  12. 59:32Q&A and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.