chore: manifest.yaml lifecycle test
This commit is contained in:
parent
02f515629e
commit
cd85772884
1 changed files with 4 additions and 4 deletions
|
|
@ -184,6 +184,10 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
app: ${CI_PROJECT_PATH_SLUG}-app
|
||||
lifecycle:
|
||||
PreStop:
|
||||
exec:
|
||||
command: ["/bin/sh","-c","kill -s TERM 1; while test $(ps ax | grep -v grep | grep bash | wc -l) -gt 0; do sleep 2s; done"]
|
||||
spec:
|
||||
containers:
|
||||
- name: ${CI_PROJECT_PATH_SLUG}-queue-worker
|
||||
|
|
@ -196,10 +200,6 @@ spec:
|
|||
- "bash"
|
||||
args:
|
||||
- "k8s-queues.sh"
|
||||
lifecycle:
|
||||
PreStop:
|
||||
exec:
|
||||
command: ["/bin/sh","-c","kill -s TERM 1; while test $(ps ax | grep -v grep | grep bash | wc -l) -gt 0; do sleep 2s; done"]
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: ${CI_PROJECT_PATH_SLUG}-config-map
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue