Skip to content

Commit aa9be2d

Browse files
committed
[SPARK-49888] Use registry.k8s.io/pause:3.9 to avoid failure deterministically
### What changes were proposed in this pull request? This PR aims to use `registry.k8s.io/pause:3.9` to avoid failure deterministically. ### Why are the changes needed? `pause` image seems to support multi-arch since 3.1. In some K8s clusters, the example fails due to the architecture issues. To avoid architecture failure like the following, we had better specify the version. ``` $ kubectl logs -f cluster-with-template-master-0 -c sidecar exec /pause: exec format error ``` ### Does this PR introduce _any_ user-facing change? No, ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#145 from dongjoon-hyun/SPARK-49888. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 700d69d commit aa9be2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/cluster-with-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spec:
4747
cpu: "2"
4848
memory: "2Gi"
4949
- name: sidecar
50-
image: registry.k8s.io/pause
50+
image: registry.k8s.io/pause:3.9
5151
resources:
5252
requests:
5353
cpu: "0.1"
@@ -81,7 +81,7 @@ spec:
8181
cpu: "2"
8282
memory: "2Gi"
8383
- name: sidecar
84-
image: registry.k8s.io/pause
84+
image: registry.k8s.io/pause:3.9
8585
resources:
8686
requests:
8787
cpu: "0.1"

0 commit comments

Comments
 (0)