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
18
Designing Zero Trust Systems
posedio
PRO
0
22
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
62
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
56
Other Decks in Programming
See All in Programming
Porting a visionOS App to Android XR
akkeylab
0
680
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
5
8.7k
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
200
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
200
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
140
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
2
200
[SRE NEXT] 複雑なシステムにおけるUser Journey SLOの導入
yakenji
0
150
リバースエンジニアリング新時代へ! GhidraとClaude DesktopをMCPで繋ぐ/findy202507
tkmru
3
960
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
7.3k
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
140
PipeCDのプラグイン化で目指すところ
warashi
1
300
ソフトウェア設計とAI技術の活用
masuda220
PRO
17
3.5k
Featured
See All Featured
Site-Speed That Sticks
csswizardry
10
700
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
The Cost Of JavaScript in 2023
addyosmani
51
8.6k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Side Projects
sachag
455
42k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Designing Experiences People Love
moore
142
24k
GitHub's CSS Performance
jonrohan
1031
460k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
GraphQLとの向き合い方2022年版
quramy
49
14k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
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