Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
fix: add prestop hook to give log-service some buffer to finish uploa…
Browse files Browse the repository at this point in the history
…ding (#58)
  • Loading branch information
minzcmu authored and jithine committed Jun 13, 2019
1 parent 0e55c4b commit e691cff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/pod.yaml.tim
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ spec:
- name: vm-launcher
image: {{base_image}}
imagePullPolicy: Always
lifecycle:
preStop:
exec:
command: ["/bin/sh","-c","sleep 30"]
securityContext:
privileged: true
resources:
Expand Down

0 comments on commit e691cff

Please sign in to comment.