[SPARK-56555][K8S] Add ubuntu mirror repositories to K8s Dockerfile for redundancy#55436
Closed
sarutak wants to merge 1 commit intoapache:masterfrom
Closed
[SPARK-56555][K8S] Add ubuntu mirror repositories to K8s Dockerfile for redundancy#55436sarutak wants to merge 1 commit intoapache:masterfrom
sarutak wants to merge 1 commit intoapache:masterfrom
Conversation
Add mirrors.edge.kernel.org as a fallback apt mirror to improve CI stability. The mirror is only added when the base image is Ubuntu (guarded by checking sources file existence).
Member
|
IIRC, this also affects users who use |
Member
Author
Yes. However, the change only adds a mirror as an additional apt source. The original repositories remain untouched, so it works as a fallback. Also, the mirror is only added when the base image is Ubuntu, so non-Ubuntu base images are not affected. |
pan3793
approved these changes
Apr 21, 2026
HyukjinKwon
approved these changes
Apr 21, 2026
dongjoon-hyun
approved these changes
Apr 21, 2026
Member
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM. Thank you, @sarutak .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Similar to #55389, this PR adds ubuntu mirror repositories to K8s Dockerfiles for redundancy.
mirrors.edge.kernel.org seems sufficiently public and reliable.
Why are the changes needed?
Sometimes, ubuntu repositories including archive.ubuntu.com and security.ubuntu.com are very slow, causing
docker buildfailure.We saw such failure on GA.
https://github.com/sarutak/spark/actions/runs/24552461498/job/71781474186
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manually confirmed
docker buildworks with modified Dockerfile.Was this patch authored or co-authored using generative AI tooling?
Kiro CLI / Opus 4.6