~/talk

Scale your microservices by MicroProfile Metrics on Kubernetes

Talkat EclipseCon 2022 · 2022-10-24..10-27· [microservices, kubernetes, observability]
speakerdeck:kazumura
slides:none on file

Demonstrates using MicroProfile Metrics exported as an application metric (a login_counter), scraped by Prometheus and exposed via the Prometheus Adapter as an external metric to Kubernetes HPA. Shows building a Docker image, deploying with Prometheus scrape annotations, creating an external metric name, and an HPA that targets value 3 with max replicas 5. During the demo the counter rises to 4, HPA increases replicas from 1 to 2 (average per pod logic), then falls back as logouts decrease the metric.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13Cloud Native motivation
  3. 2:58Scalability principles
  4. 6:15Vertical vs Horizontal Pod Auto Scaling
  5. 8:46Kubernetes HPA and Metrics API
  6. 12:01MicroProfile Metrics overview
  7. 16:50Demo setup
  8. 19:44Deploying to Kubernetes
  9. 23:01Prometheus Adapter API
  10. 25:58HPA with MicroProfile Metrics
  11. 29:52Live auto-scaling demo
  12. 30:58Summary
  13. 31:19Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.