File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -362,8 +362,9 @@ impl K8sClient for HttpK8sClient {
362
362
"nodeSelector" : {
363
363
"nodeType" : "workloads"
364
364
} ,
365
- // We want to wait at most 60 seconds before K8S sends a `SIGKILL` to the containers.
366
- "terminationGracePeriodSeconds" : 60 ,
365
+ // We want to wait at most 5 minutes before K8S sends a `SIGKILL` to the containers,
366
+ // this way we let the system finish any in-flight transaction, if there are any.
367
+ "terminationGracePeriodSeconds" : 300 ,
367
368
"initContainers" : [
368
369
{
369
370
"name" : vector_container_name,
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ struct ApplyLoopState {
338
338
///
339
339
/// When a shutdown has been discarded, the apply loop will continue processing events until a
340
340
/// transaction boundary is found. If not found, the process will continue until it is killed via
341
- /// a `SIGTERM `.
341
+ /// a `SIGKILL `.
342
342
shutdown_discarded : bool ,
343
343
}
344
344
You can’t perform that action at this time.
0 commit comments