Last active
February 21, 2020 22:01
-
-
Save wuestkamp/769c536209dd05c8f51256c3d678d6fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: runner | |
spec: | |
containers: | |
- command: | |
- sh | |
- -c | |
- 'touch /tmp/messaging && tail -f /tmp/messaging' | |
image: bash | |
name: runner | |
lifecycle: | |
postStart: | |
exec: | |
command: ["sh", "-c", "echo postStart >> /tmp/messaging"] | |
preStop: | |
exec: | |
command: ["sh", "-c", "echo preStop >> /tmp/messaging"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment