Zero to Hero in
Kubernetes Native Java
Kevin Dubois
Principal Developer Advocate, Red Hat
@kevindubois
Cloud Native vs Kubernetes Native
@kevindubois
r
pe
lo
Deve
@kevindubois
How Does a Java Framework Start?
Build Time Runtime
@
</>
@
Packaging Load config file Classpath scanning Build its Start the
(maven, from file system to find annotated model of management
gradle, etc) Parse it classes the world. (thread, pool…)
Attempt to load class
to enable/disable
features
@kevindubois
Quarkus
Runtime
Build Time
@
@
</>
@
@
@
</>
@
model package
Build Time Runtime
@kevindubois
Quarkus enables Native Compilation
Native
@
</>
@
model package
Build Time JVM
@kevindubois
Supersonic Subatomic Java
Quarkus + Native Quarkus + JVM Traditional
(via GraalVM) (via OpenJDK) Cloud-Native Stack
12 MB 73 MB 136 MB
Quarkus + Native (via GraalVM) 0.016 Seconds
Quarkus + JVM (via OpenJDK) 0.943 Seconds
Traditional Cloud-Native Stack 4.3 Seconds
@kevindubois
Ready to be
a hero?
@kevindubois
@kevindubois
quarkus create app
10
@kevindubois
quarkus extension add kubernetes
@kevindubois
quarkus extension add smallrye-health
@kevindubois
@kevindubois
Learn containers, Kubernetes, and OpenShift in your browser.
developers.redhat.com/developer-sandbox
Start exploring in the OpenShift Sandbox.
Try Red Hat's products and technologies
without setup or configuration.
@kevindubois
Book Signing with
Markus Eisele &
Natale Vinto
Friday, July 28th
at 12:10pm
Come meet Markus and Natale and have
them sign a free copy of “Modernizing
Enterprise Java”.
(Limited Quantities)
Book Signing with
Alex Soto Bueno
Friday, July 28th
at 2:10pm
Come meet Alex and have them sign a free
copy of “Quarkus Cookbook”.
(Limited Quantities)
Book Signing with
Natale Vinto &
Alex Soto Bueno
Friday, July 28th
at 10:50am
Come meet Natale and Alex and have them
sign a free copy of “GitOps Cookbook”.
(Limited Quantities)
Thank you!
@kevindubois.com
youtube.com/@thekevindubois
@[email protected]
linkedin.com/in/kevindubois
github.com/kdubois
@kevindubois