Skip to content

feat: download kube binaries from dl.k8s.io#139

Merged
bcho merged 1 commit intomainfrom
hbc/acs-mirror
Apr 3, 2026
Merged

feat: download kube binaries from dl.k8s.io#139
bcho merged 1 commit intomainfrom
hbc/acs-mirror

Conversation

@bcho
Copy link
Copy Markdown
Member

@bcho bcho commented Apr 3, 2026

since 1.35.x, acs-micrror no longer publishes binaries for kubetctl etc. Before we can finalize the binary source, we will use dl.k8s.io for now.

Related #117

Copilot AI review requested due to automatic review settings April 3, 2026 23:23
@bcho bcho deployed to e2e-testing April 3, 2026 23:23 — with GitHub Actions Active
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Kubernetes binary download mechanism in the kubebins component to use the official Kubernetes CDN (dl.k8s.io) now that acs-mirror no longer publishes certain binaries for 1.35.x+.

Changes:

  • Switch from downloading/extracting a Kubernetes node tarball to downloading individual binaries (kubeadm/kubelet/kubectl/kube-proxy) from https://dl.k8s.io.
  • Download required binaries in parallel using errgroup.
  • Extend DownloadKubeBinariesStatus with per-binary paths and per-binary download URLs; mark the old download_url field as deprecated.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
go.mod Promotes golang.org/x/sync to a direct dependency for errgroup.
components/kubebins/v20260301/download.go Implements per-binary downloads from dl.k8s.io with parallelization and updated status fields.
components/kubebins/action.proto Deprecates download_url and adds per-binary status fields.
components/kubebins/action.pb.go Regenerates Go protobuf output for the updated status message schema.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bcho bcho merged commit a9f16fc into main Apr 3, 2026
13 checks passed
@bcho bcho deleted the hbc/acs-mirror branch April 3, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants