Skip to content

Commit 8f0c82b

Browse files
committed
edits
1 parent 06291d0 commit 8f0c82b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/spring-apps/enterprise/how-to-configure-enterprise-spring-cloud-gateway.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -821,10 +821,10 @@ The following list shows the supported add-on configurations for the add-on key
821821
- Key name: `PodOverrides`, which is used to specify overrides for the default pod configuration.
822822
- Value type: Object
823823
- Properties
824-
- `Containers`: This array contains the configuration for individual containers within the pod, only container named "gateway" is supported now.
825-
- `Name`: Specifies the name of the container. The container should be named "gateway".
826-
- `Lifecycle`: `PreStop` is a lifecycle hook that is executed when a container is about to be terminated. It allows you to perform any necessary cleanup before the container stops.
827-
- `TerminationGracePeriodSeconds`: Specify the amount of time Kubernetes will wait for a pod to terminate gracefully before forcibly killing it.
824+
- `Containers`: This array contains the configuration for individual containers within the pod. Only the container named `gateway` is supported currently.
825+
- `Name`: Specifies the name of the container. The container should be named `gateway`.
826+
- `Lifecycle`: `PreStop` is a lifecycle hook that's executed when a container is about to be terminated. This hook enables you to perform any necessary cleanup before the container stops.
827+
- `TerminationGracePeriodSeconds`: Specifies the amount of time Kubernetes waits for a pod to terminate gracefully before forcibly killing it.
828828
- Example:
829829
830830
```json
@@ -853,9 +853,9 @@ The following list shows the supported add-on configurations for the add-on key
853853
}
854854
```
855855
856-
When a pod containing this container is being terminated, the `PreStop` hook will execute the command `/bin/sh -c 'sleep 20'`, causing the container to sleep for 20 seconds. This gives the container some time to complete any ongoing tasks or cleanup before it actually stops.
856+
When a pod containing this container is being terminated, the `PreStop` hook executes the command `/bin/sh -c 'sleep 20'`, causing the container to sleep for 20 seconds. This pause gives the container some time to complete any ongoing tasks or cleanup before it actually stops.
857857
858-
The `TerminationGracePeriodSeconds` setting provides a total of 120 seconds for the pod to terminate gracefully, including the time taken by any lifecycle hooks such as `PreStop`.
858+
The `TerminationGracePeriodSeconds` setting provides a total of 120 seconds for the pod to terminate gracefully, including the time taken by any lifecycle hooks, such as `PreStop`.
859859
860860
Use the following steps to update the add-on configuration.
861861

0 commit comments

Comments
 (0)