lates version of perl fails with the example code, need to use v5.34.0 (#34414)

* 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
This commit is contained in:
Mike Hummel
2022-07-21 19:23:54 +02:00
committed by GitHub
parent 1a2958a4dd
commit a15cc475d8
2 changed files with 6 additions and 6 deletions
@@ -71,7 +71,7 @@ Pod Template:
job-name=pi job-name=pi
Containers: Containers:
pi: pi:
Image: perl Image: perl:5.34.0
Port: <none> Port: <none>
Host Port: <none> Host Port: <none>
Command: Command:
@@ -125,7 +125,7 @@ spec:
- -Mbignum=bpi - -Mbignum=bpi
- -wle - -wle
- print bpi(2000) - print bpi(2000)
image: perl image: perl:5.34.0
imagePullPolicy: Always imagePullPolicy: Always
name: pi name: pi
resources: {} resources: {}
@@ -356,7 +356,7 @@ spec:
spec: spec:
containers: containers:
- name: pi - name: pi
image: perl image: perl:5.34.0
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: Never restartPolicy: Never
``` ```
@@ -402,7 +402,7 @@ spec:
spec: spec:
containers: containers:
- name: pi - name: pi
image: perl image: perl:5.34.0
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: Never restartPolicy: Never
``` ```
+2 -2
View File
@@ -7,8 +7,8 @@ spec:
spec: spec:
containers: containers:
- name: pi - name: pi
image: perl:5.34 image: perl:5.34.0
command: ["perl", "-Mbignum=bpi", "-wle", "'print bpi(2000)'"] command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: Never restartPolicy: Never
backoffLimit: 4 backoffLimit: 4