You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-apps/enterprise/how-to-configure-enterprise-spring-cloud-gateway.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -821,10 +821,10 @@ The following list shows the supported add-on configurations for the add-on key
821
821
- Key name: `PodOverrides`, which is used to specify overrides for the default pod configuration.
822
822
- Value type: Object
823
823
- 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.
828
828
- Example:
829
829
830
830
```json
@@ -853,9 +853,9 @@ The following list shows the supported add-on configurations for the add-on key
853
853
}
854
854
```
855
855
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.
857
857
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`.
859
859
860
860
Use the following steps to update the add-on configuration.
0 commit comments