a15cc475d8
* lates version of perl fails with the example code, need to use v5.34.0 * fix perl version in example job.yaml, is not working with actual latest
15 lines
258 B
YAML
15 lines
258 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: pi
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: pi
|
|
image: perl:5.34.0
|
|
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
|
|
restartPolicy: Never
|
|
backoffLimit: 4
|
|
|