Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
3 views

Zero To Hero in Kubernetes Native Java

The document discusses how to build Java applications that are native to Kubernetes using Quarkus. It explains how Quarkus enables native compilation to produce small, fast, open source Java applications and services for the cloud-native world. The document demonstrates how to create a sample Quarkus application and add Kubernetes and health check extensions to it.

Uploaded by

mohamedmira1991
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Zero To Hero in Kubernetes Native Java

The document discusses how to build Java applications that are native to Kubernetes using Quarkus. It explains how Quarkus enables native compilation to produce small, fast, open source Java applications and services for the cloud-native world. The document demonstrates how to create a sample Quarkus application and add Kubernetes and health check extensions to it.

Uploaded by

mohamedmira1991
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

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
@kevindubois@mastodon.social
linkedin.com/in/kevindubois
github.com/kdubois

@kevindubois

You might also like