Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Quarkus on K8s
Search
Posedio
PRO
June 05, 2023
Programming
0
13
Quarkus on K8s
Posedio
PRO
June 05, 2023
Tweet
Share
More Decks by Posedio
See All by Posedio
Modern data observability
posedio
PRO
0
5
Lost Jobs, Zombie Tasks and AirFlow Nightmares: A debugging Deep Dive
posedio
PRO
0
31
Designing Zero Trust Systems
posedio
PRO
0
24
Platform user's remorse
posedio
PRO
0
130
Go KonMari on your SQL
posedio
PRO
0
22
Rolling out digital receipts on GCP infrastructure
posedio
PRO
0
16
API First revisited - where did we take a left turn?
posedio
PRO
0
64
Solving Multi-Tenant Challenges: Apache Airflow and Cloud Composer in Action
posedio
PRO
0
57
Contract testing with Java
posedio
PRO
0
46
Other Decks in Programming
See All in Programming
Honoアップデート 2025年夏
yusukebe
1
880
為你自己學 Python - 冷知識篇
eddie
1
310
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
630
Zendeskのチケットを Amazon Bedrockで 解析した
ryokosuge
3
210
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
0
170
AWS発のAIエディタKiroを使ってみた
iriikeita
1
110
Jakarta EE Core Profile and Helidon - Speed, Simplicity, and AI Integration
ivargrimstad
0
260
Laravel Boost 超入門
fire_arlo
2
160
Trem on Rails - Prompt Engineering com Ruby
elainenaomi
1
100
AHC051解法紹介
eijirou
0
640
Langfuseと歩む生成AI活用推進
licux
3
320
【第4回】関東Kaggler会「Kaggleは執筆に役立つ」
mipypf
0
950
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
173
14k
Navigating Team Friction
lara
189
15k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
A Tale of Four Properties
chriscoyier
160
23k
Git: the NoSQL Database
bkeepers
PRO
431
66k
For a Future-Friendly Web
brad_frost
179
9.9k
The Invisible Side of Design
smashingmag
301
51k
Documentation Writing (for coders)
carmenintech
73
5k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Why Our Code Smells
bkeepers
PRO
339
57k
A designer walks into a library…
pauljervisheath
207
24k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Transcript
None
2 TBT
3 POSEDIO GMBH Company founded: • 2020 Locations: • Vienna
• Vorarlberg Co-workers: • 17 Cloud experts
4 SERVICES Cloud Platform Cloud-Native Consulting Data Platform Application Modernization
Multicloud FinOps Automated self- service Platform Data Governance Big Data Data Accessibility Security and Governance Scalability & Cost optimization DevOps Security Review Cloud readiness Review Architecture Review
AGENDA 1. INTRODUCTION QUARKUS 2. INTEGRATION WITH KUBERNETES
INTRODUCTION QUARKUS 1
7 INTRODUCTION QUARKUS Homepage: https://www.quarkus.com
8 INTRODUCTION QUARKUS • Open-source framework for developing cloud-native Java
applications • Improve performance of Java applications • Enhance the productivity of Java developers What is Quarkus?
9 INTRODUCTION QUARKUS • Low startup times, low memory usage
• AOT (ahead-of-time) compilation Improve performance of Java applications
10 INTRODUCTION QUARKUS • Builds on top of proven standards:
• Eclipse MicroProfile • Vert.x • JAX-RS Everything new?
11 INTRODUCTION QUARKUS • Wide range of features and extensions
• Reactive programming • Microservice support • REST messaging frameworks • Database access • Integration with Kubernetes • https://code.quarkus.io/ Enhance the productivity of Java developers
INTEGRATION WITH KUBERNETES 2
13 INTEGRATION WITH KUBERNETES Example with 2 Microservices
14 INTEGRATION WITH KUBERNETES • Open-source platform for • automating,
• deploying, • scaling, • and managing containerized applications. What is Kubernetes
15 INTEGRATION WITH KUBERNETES • Configuration • src/main/application.properties • ConfigMap
• Enverionment variables • Staging • With %[stage].[property-name] Quarkus basics
16 INTEGRATION WITH KUBERNETES • Configuration • src/main/application.properties • ConfigMap
• Enverionment variables • Staging • With %[stage].[property-name] Quarkus basics
17 INTEGRATION WITH KUBERNETES • One-step Kubernetes deployment • Direct
Secret and ConfigMap access • Health endpoints • OpenTracing • OpenMetrics • Kubernetes Client Api • …. Quarkus Kubernetes Features
18 INTEGRATION WITH KUBERNETES <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-kubernetes</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId>
<artifactId>quarkus-container-image-docker</artifactId> </dependency> One-step Kubernetes deployment
19 INTEGRATION WITH KUBERNETES • Generate deployment YAML for Kubernetes
Evn. • Service Account, RoleBinding,… <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-kubernetes-minikube</artifactId> </dependency> One-step Kubernetes deployment
20 INTEGRATION WITH KUBERNETES • Read properties from a ConfigMap
/ Secret • Override application.properties <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-kubernetes-config</artifactId> </dependency> Direct Secret and ConfigMap access
21 INTEGRATION WITH KUBERNETES • Expose application availability and status
• Custom application health checks • Built-in health checks • Kafka, JDBC Datasources, Elasticsearch, … <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-smallrye-health</artifactId> </dependency> Health Endpoints
22 INTEGRATION WITH KUBERNETES • Distributed Tracing across microservices OpenTracing
Support
23 CHALLENGE DISTRIBUTED TRACING Example Architecture
24 CHALLENGE DISTRIBUTED TRACING Example Architecture
25 SOLUTION Architecture
26 SUMMARY • Built for developing cloud-native applications • Improves
development performance • Improves memory usage and speed Quarkus @ K8S
THANK YOU! POSEDIO GMBH +43 660 9154419
[email protected]
Weyringergasse 1-3,
1040 Wien, Millenium Park 4, 6980 Lustenau www.posedio.com