Skip to content

Commit 5a2eb60

Browse files
committed
add preStopSleep to values
1 parent 8a1f135 commit 5a2eb60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ st2web:
381381
# The pod will not be marked as "running" until this script completes successfully.
382382
# see: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
383383
postStartScript: ""
384+
preStopSleep: 10
384385

385386
# https://docs.stackstorm.com/reference/ha.html#st2auth
386387
# Multiple st2auth processes can be behind a load balancer in an active-active configuration.
@@ -416,6 +417,7 @@ st2auth:
416417
# The pod will not be marked as "running" until this script completes successfully.
417418
# see: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
418419
postStartScript: ""
420+
preStopSleep: 10
419421
# mount extra volumes on the st2auth pod(s) (primarily useful for custom logging conf)
420422
## Note that Helm templating is supported in 'mount' and 'volume'
421423
extra_volumes: []
@@ -455,6 +457,7 @@ st2api:
455457
# The pod will not be marked as "running" until this script completes successfully.
456458
# see: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
457459
postStartScript: ""
460+
preStopSleep: 10
458461
# mount extra volumes on the st2api pod(s) (primarily useful for custom logging conf)
459462
## Note that Helm templating is supported in 'mount' and 'volume'
460463
extra_volumes: []
@@ -494,6 +497,7 @@ st2stream:
494497
# The pod will not be marked as "running" until this script completes successfully.
495498
# see: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
496499
postStartScript: ""
500+
preStopSleep: 10
497501
# mount extra volumes on the st2stream pod(s) (primarily useful for custom logging conf)
498502
## Note that Helm templating is supported in 'mount' and 'volume'
499503
extra_volumes: []

0 commit comments

Comments
 (0)