Add kubernetes-deployment: probes, shutdown, JVM ergonomics, HPA
Companion code for "Deploying Spring Boot 4 on Kubernetes: Probes, Graceful Shutdown, Limits and JVM Ergonomics". A dependency outage under three probe-group setups, a rolling restart under load four ways (three runs each), the JVM's ergonomic choices for nine pod shapes, one GC-heavy load under five CPU limits with throttling counters, and an HPA driven by a Micrometer gauge through prometheus-adapter. Measured on k3s v1.36.4. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01C3TETMrqVUWeFkNtz3Jbo3
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
# graceful shutdown + preStop: sleep: {seconds: 5} (run 3 of 3)
|
||||
# 20 clients, POST /work?ms=300 via Service orders, 45 s; kubectl rollout restart at ~t=8 s
|
||||
|
||||
t= 0s conc=20 ok=40
|
||||
t= 1s conc=20 ok=60
|
||||
t= 2s conc=20 ok=70
|
||||
t= 3s conc=20 ok=70
|
||||
t= 4s conc=20 ok=60
|
||||
t= 5s conc=20 ok=62
|
||||
t= 6s conc=20 ok=74
|
||||
t= 7s conc=20 ok=64
|
||||
t= 8s conc=20 ok=60
|
||||
t= 9s conc=20 ok=60
|
||||
t= 10s conc=20 ok=65
|
||||
t= 11s conc=20 ok=74
|
||||
t= 12s conc=20 ok=60
|
||||
t= 13s conc=20 ok=63
|
||||
t= 14s conc=20 ok=63
|
||||
t= 15s conc=20 ok=74
|
||||
t= 16s conc=20 ok=60
|
||||
t= 17s conc=20 ok=65
|
||||
t= 18s conc=20 ok=61
|
||||
t= 19s conc=20 IOException=1 ok=69
|
||||
t= 20s conc=20 ok=65
|
||||
t= 21s conc=20 ok=60
|
||||
t= 22s conc=20 ok=65
|
||||
t= 23s conc=20 ok=69
|
||||
t= 24s conc=20 ok=66
|
||||
t= 25s conc=20 ok=61
|
||||
t= 26s conc=20 ok=69
|
||||
t= 27s conc=20 ok=64
|
||||
t= 28s conc=20 ok=66
|
||||
t= 29s conc=20 ok=64
|
||||
t= 30s conc=20 ok=66
|
||||
t= 31s conc=20 ok=66
|
||||
t= 32s conc=20 ok=64
|
||||
t= 33s conc=20 ok=65
|
||||
t= 34s conc=20 ok=69
|
||||
t= 35s conc=20 ok=66
|
||||
t= 36s conc=20 ok=64
|
||||
t= 37s conc=20 ok=68
|
||||
t= 38s conc=20 ok=62
|
||||
t= 39s conc=20 ok=66
|
||||
t= 40s conc=20 ok=69
|
||||
t= 41s conc=20 ok=63
|
||||
t= 42s conc=20 ok=68
|
||||
t= 43s conc=20 ok=63
|
||||
t= 44s conc=20 ok=69
|
||||
t= 45s conc=20 ok=28
|
||||
METHOD POST
|
||||
TOTAL {IOException=1, ok=2939}
|
||||
LATENCY ms p50=304 p90=313 p99=360 max=476 (n=2939)
|
||||
|
||||
# Events:
|
||||
1 Normal Killing pod/orders-5cfc646684-4stbt Stopping container app
|
||||
1 Normal Killing pod/orders-5cfc646684-zst8t Stopping container app
|
||||
Reference in New Issue
Block a user