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
Lost Jobs, Zombie Tasks and AirFlow Nightmares: A debugging Deep Dive
posedio
PRO
0
17
Designing Zero Trust Systems
posedio
PRO
0
21
Platform user's remorse
posedio
PRO
0
120
Go KonMari on your SQL
posedio
PRO
0
19
Rolling out digital receipts on GCP infrastructure
posedio
PRO
0
16
API First revisited - where did we take a left turn?
posedio
PRO
0
61
Solving Multi-Tenant Challenges: Apache Airflow and Cloud Composer in Action
posedio
PRO
0
51
Contract testing with Java
posedio
PRO
0
43
Flink in two nutshells
posedio
PRO
0
53
Other Decks in Programming
See All in Programming
Team operations that are not burdened by SRE
kazatohiei
1
290
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
130
Quand Symfony, ApiPlatform, OpenAI et LangChain s'allient pour exploiter vos PDF : de la théorie à la production…
ahmedbhs123
0
130
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
360
WebViewの現在地 - SwiftUI時代のWebKit - / The Current State Of WebView
marcy731
0
110
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
270
RailsGirls IZUMO スポンサーLT
16bitidol
0
140
Porting a visionOS App to Android XR
akkeylab
0
210
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
590
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
280
NPOでのDevinの活用
codeforeveryone
0
720
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
5
1k
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
500
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
24k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
A Tale of Four Properties
chriscoyier
160
23k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
RailsConf 2023
tenderlove
30
1.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
810
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