Containerizing Java Applications for Kubernetes With Jib
summary
Jib is a Maven/Gradle plugin that builds Java container images without a Docker daemon, infers layers (dependencies, resources, classes) and pushes them independently so incremental changes send only the small classes layer. Demos show a fat-jar image shrinking from ~300 MB to ~82 MB by switching base images and rebuild latency dropping from ~35s to ~5–15s for code-only changes. Integrates with Skaffold for continuous deploys (Spring PetClinic demo) and exposes a Java library jib-core for custom image construction.
AI-written summary · about
chapters (22)
- 0:00Intro
- 1:21Example
- 13:10Containerization as part of build
- 13:45What commands to run
- 13:55Containerization
- 14:30Goals
- 14:55Java
- 15:10Container Image
- 16:00Base Image
- 18:29Build time
- 19:01Multiple layers
- 20:25Reproducibility
- 20:58Guarantee Reproducibility
- 22:00Scaffold
- 22:34Scaffold Development
- 23:38Live Demo
- 28:45Gradle Plugin
- 29:27Demo
- 31:14Other features
- 31:52Future plans
- 32:32Documentation
- 33:01Support
related talks
01h 01mDistilling Java Containers for Kubernetes
25mKubernetes for Java Developers
48mKubernetesize your Java application
23mDeploying Your Apps to Kubernetes Without the Boilerplate
01h 02mJava to Kubernetes for Dummies
26mContainerize your Java Applications using Eclipse JKube
35mJava Developer’s Journey in Kubernetes
01h 59mKubernetes for Java Developers
