File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -306,6 +306,64 @@ A table with long entries and no breakable space.
306
306
That's the end of that.
307
307
308
308
309
+
310
+ === Another Long Table
311
+
312
+
313
+ When a Spring Boot application starts:
314
+
315
+ [cols="2,2,2,3,5"]
316
+ |===
317
+ |Startup phase |LivenessState |ReadinessState |HTTP server |Notes
318
+
319
+ |Starting
320
+ |`BROKEN`
321
+ |`REFUSING_TRAFFIC`
322
+ |Not started
323
+ |Kubernetes checks the "liveness" Probe and restarts the application if it takes too long.
324
+
325
+ |Started
326
+ |`CORRECT`
327
+ |`REFUSING_TRAFFIC`
328
+ |Refuses requests
329
+ |The application context is refreshed. The application performs startup tasks and does not receive traffic yet.
330
+
331
+ |Ready
332
+ |`CORRECT`
333
+ |`ACCEPTING_TRAFFIC`
334
+ |Accepts requests
335
+ |Startup tasks are finished. The application is receiving traffic.
336
+ |===
337
+
338
+ When a Spring Boot application shuts down:
339
+
340
+ [cols="2,2,2,3,5"]
341
+ |===
342
+ |Shutdown phase |Liveness State |Readiness State |HTTP server |Notes
343
+
344
+ |Running
345
+ |`CORRECT`
346
+ |`ACCEPTING_TRAFFIC`
347
+ |Accepts requests
348
+ |Shutdown has been requested.
349
+
350
+ |Graceful shutdown
351
+ |`CORRECT`
352
+ |`REFUSING_TRAFFIC`
353
+ |New requests are rejected
354
+ |If enabled, <<spring-boot-features#boot-features-graceful-shutdown,graceful shutdown processes in-flight requests>>.
355
+
356
+ |Shutdown complete
357
+ |N/A
358
+ |N/A
359
+ |Server is shut down
360
+ |The application context is closed and the application is shut down.
361
+ |===
362
+
363
+ TIP: Check out the Kubernetes container lifecycle section for more information about Kubernetes deployment.
364
+
365
+
366
+
309
367
=== Long Shell Blocks
310
368
A shell code block can also break things:
311
369
You can’t perform that action at this time.
0 commit comments