Last active
November 4, 2016 06:40
-
-
Save jaohaohsuan/782e5cd1233b7d2bbde1c2935520518e to your computer and use it in GitHub Desktop.
runnnig forever pod
This file contains 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: alpine | |
namespace: default | |
spec: | |
containers: | |
- image: alpine:latest | |
command: | |
- "sh" | |
- "-c" | |
- "echo 'running since '`date +'%r'`; while true; do sleep 3; done" | |
name: alpine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment