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
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
# graceful shutdown (default), no preStop hook (run 1 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=60
|
|
t= 3s conc=20 ok=64
|
|
t= 4s conc=20 ok=61
|
|
t= 5s conc=20 ok=65
|
|
t= 6s conc=20 ok=69
|
|
t= 7s conc=20 ok=65
|
|
t= 8s conc=20 ok=61
|
|
t= 9s conc=20 ok=65
|
|
t= 10s conc=20 ok=63
|
|
t= 11s conc=20 ok=68
|
|
t= 12s conc=20 ok=64
|
|
t= 13s conc=20 ok=63
|
|
t= 14s conc=20 ok=62
|
|
t= 15s conc=20 ok=66
|
|
t= 16s conc=20 ok=63
|
|
t= 17s conc=20 ok=65
|
|
t= 18s conc=20 ok=67
|
|
t= 19s conc=20 ok=61
|
|
t= 20s conc=20 ok=71
|
|
t= 21s conc=20 ok=61
|
|
t= 22s conc=20 IOException=3 ok=65
|
|
t= 23s conc=20 ok=64
|
|
t= 24s conc=20 ok=63
|
|
t= 25s conc=20 ok=68
|
|
t= 26s conc=20 ok=67
|
|
t= 27s conc=20 ok=62
|
|
t= 28s conc=20 ok=68
|
|
t= 29s conc=20 ok=65
|
|
t= 30s conc=20 ok=65
|
|
t= 31s conc=20 ok=63
|
|
t= 32s conc=20 ok=69
|
|
t= 33s conc=20 ok=66
|
|
t= 34s conc=20 ok=64
|
|
t= 35s conc=20 ok=69
|
|
t= 36s conc=20 ok=63
|
|
t= 37s conc=20 ok=66
|
|
t= 38s conc=20 ok=62
|
|
t= 39s conc=20 ok=70
|
|
t= 40s conc=20 ok=66
|
|
t= 41s conc=20 ok=64
|
|
t= 42s conc=20 ok=66
|
|
t= 43s conc=20 ok=70
|
|
t= 44s conc=20 ok=62
|
|
t= 45s conc=20 ok=33
|
|
METHOD POST
|
|
TOTAL {IOException=3, ok=2924}
|
|
LATENCY ms p50=305 p90=316 p99=365 max=572 (n=2924)
|
|
|
|
# Events:
|
|
1 Normal Killing pod/orders-98b44f5f4-vwrm2 Stopping container app
|
|
1 Normal Killing pod/orders-98b44f5f4-xshdx Stopping container app
|