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
10
Quarkus on K8s
Posedio
PRO
June 05, 2023
Tweet
Share
More Decks by Posedio
See All by Posedio
API First revisited - where did we take a left turn?
posedio
PRO
0
33
Solving Multi-Tenant Challenges: Apache Airflow and Cloud Composer in Action
posedio
PRO
0
22
Contract testing with Java
posedio
PRO
0
20
Flink in two nutshells
posedio
PRO
0
21
Taming the Codebase: Strategies for Refactoring Legacy Code
posedio
PRO
0
17
Access & Usage Policies and Enforcement: Challenges and Solutions
posedio
PRO
0
16
The Future of Data Sharing
posedio
PRO
0
58
Is your spring boot application in Kubernetes secure?
posedio
PRO
0
68
Zero trust architecture with Keycloak
posedio
PRO
0
210
Other Decks in Programming
See All in Programming
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
760
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
6
1.3k
Beyond ORM
77web
11
1.5k
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
240
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
230
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
200
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
100
KubeCon NA 2024の全DB関連セッションを紹介
nnaka2992
0
110
Compose UIテストを使った統合テスト
hiroaki404
0
120
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
600
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
2
7.7k
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
820
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Music & Morning Musume
bryan
46
6.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Scaling GitHub
holman
459
140k
How to train your dragon (web standard)
notwaldorf
88
5.8k
What's in a price? How to price your products and services
michaelherold
244
12k
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