Polish
See gh-25093
This commit is contained in:
@@ -1055,7 +1055,7 @@ Also, if an application is using Kubernetes https://kubernetes.io/docs/tasks/run
|
||||
[[production-ready-kubernetes-probes-lifecycle]]
|
||||
==== Application lifecycle and Probes states
|
||||
An important aspect of the Kubernetes Probes support is its consistency with the application lifecycle.
|
||||
There is a significant different between the `AvailabilityState` which is the in-memory, internal state of the application -
|
||||
There is a significant difference between the `AvailabilityState` which is the in-memory, internal state of the application
|
||||
and the actual Probe which exposes that state: depending on the phase of application lifecycle, the Probe might not be available.
|
||||
|
||||
Spring Boot publishes <<spring-boot-features.adoc#boot-features-application-events-and-listeners,Application Events during startup and shutdown>>,
|
||||
@@ -1078,7 +1078,7 @@ When a Spring Boot application starts:
|
||||
|Started
|
||||
|`CORRECT`
|
||||
|`REFUSING_TRAFFIC`
|
||||
|Accepts requests
|
||||
|Refuses requests
|
||||
|The application context is refreshed. The application performs startup tasks and does not receive traffic yet.
|
||||
|
||||
|Ready
|
||||
|
||||
@@ -157,7 +157,7 @@ The printed banner is registered as a singleton bean under the following name: `
|
||||
The `${application.version}` and `${application.formatted-version}` properties are only available if you are using Spring Boot launchers.
|
||||
The values won't be resolved if you are running an unpacked jar and starting it with `java -cp <classpath> <mainclass>`.
|
||||
|
||||
This is why we recommend that you always use launch unpacked jars using `java org.springframework.boot.loader.JarLauncher`.
|
||||
This is why we recommend that you always launch unpacked jars using `java org.springframework.boot.loader.JarLauncher`.
|
||||
This will initialize the `application.*` banner variables before building the classpath and launching your app.
|
||||
====
|
||||
|
||||
|
||||
Reference in New Issue
Block a user