-
-
Save edevil/8e98fda52dd42ff07e602f34ccaa7f39 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