Created
July 1, 2016 07:36
-
-
Save sercand/64116db1905694290e61dac252d20d73 to your computer and use it in GitHub Desktop.
Kubernetes Stress Job
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: batch/v1 | |
kind: Job | |
metadata: | |
name: pi-with-timeout | |
spec: | |
parallelism: 20 | |
completions: 100 | |
template: | |
metadata: | |
name: pi | |
spec: | |
containers: | |
- name: pi | |
image: perl | |
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(10)"] | |
restartPolicy: Never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment