We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb145f commit 8fa1decCopy full SHA for 8fa1dec
operator/src/main/java/oracle/kubernetes/operator/helpers/PodHelper.java
@@ -430,6 +430,10 @@ public NextAction apply(Packet packet) {
430
431
ServerSpec serverSpec = info.getDomain().getServer(serverName, clusterName);
432
if (serverSpec != null) {
433
+ // We add a 10 second fudge factor here to account for the fact that WLST takes
434
+ // ~6 seconds to start, so along with any other delay in connecting and issuing
435
+ // the shutdown, the actual server instance has the full configured timeout to
436
+ // gracefully shutdown before the container is destroyed by this timeout.
437
gracePeriodSeconds =
438
serverSpec.getShutdown().getTimeoutSeconds() + DEFAULT_ADDITIONAL_DELETE_TIME;
439
}
0 commit comments