Skip to content

Commit a15cc47

Browse files
authored
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
1 parent 1a2958a commit a15cc47

File tree

2 files changed

+6
-6
lines changed
  • content/en

2 files changed

+6
-6
lines changed

content/en/docs/concepts/workloads/controllers/job.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Pod Template:
7171
job-name=pi
7272
Containers:
7373
pi:
74-
Image: perl
74+
Image: perl:5.34.0
7575
Port: <none>
7676
Host Port: <none>
7777
Command:
@@ -125,7 +125,7 @@ spec:
125125
- -Mbignum=bpi
126126
- -wle
127127
- print bpi(2000)
128-
image: perl
128+
image: perl:5.34.0
129129
imagePullPolicy: Always
130130
name: pi
131131
resources: {}
@@ -356,7 +356,7 @@ spec:
356356
spec:
357357
containers:
358358
- name: pi
359-
image: perl
359+
image: perl:5.34.0
360360
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
361361
restartPolicy: Never
362362
```
@@ -402,7 +402,7 @@ spec:
402402
spec:
403403
containers:
404404
- name: pi
405-
image: perl
405+
image: perl:5.34.0
406406
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
407407
restartPolicy: Never
408408
```

content/en/examples/controllers/job.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ spec:
77
spec:
88
containers:
99
- name: pi
10-
image: perl:5.34
11-
command: ["perl", "-Mbignum=bpi", "-wle", "'print bpi(2000)'"]
10+
image: perl:5.34.0
11+
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
1212
restartPolicy: Never
1313
backoffLimit: 4
1414

0 commit comments

Comments
 (0)