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 latestpull/37090/head
parent
1a2958a4dd
commit
a15cc475d8
|
@ -71,7 +71,7 @@ Pod Template:
|
|||
job-name=pi
|
||||
Containers:
|
||||
pi:
|
||||
Image: perl
|
||||
Image: perl:5.34.0
|
||||
Port: <none>
|
||||
Host Port: <none>
|
||||
Command:
|
||||
|
@ -125,7 +125,7 @@ spec:
|
|||
- -Mbignum=bpi
|
||||
- -wle
|
||||
- print bpi(2000)
|
||||
image: perl
|
||||
image: perl:5.34.0
|
||||
imagePullPolicy: Always
|
||||
name: pi
|
||||
resources: {}
|
||||
|
@ -356,7 +356,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: pi
|
||||
image: perl
|
||||
image: perl:5.34.0
|
||||
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
|
||||
restartPolicy: Never
|
||||
```
|
||||
|
@ -402,7 +402,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: pi
|
||||
image: perl
|
||||
image: perl:5.34.0
|
||||
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
|
||||
restartPolicy: Never
|
||||
```
|
||||
|
|
|
@ -7,8 +7,8 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: pi
|
||||
image: perl:5.34
|
||||
command: ["perl", "-Mbignum=bpi", "-wle", "'print bpi(2000)'"]
|
||||
image: perl:5.34.0
|
||||
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
|
||||
restartPolicy: Never
|
||||
backoffLimit: 4
|
||||
|
||||
|
|
Loading…
Reference in New Issue