Skip to content

Remove download redirects, use cdn.dl.k8s.io domain#219

Merged
Tatsinnit merged 1 commit intoAzure:mainfrom
hanseaticsoft:use-cdn-dl-urls
Feb 10, 2026
Merged

Remove download redirects, use cdn.dl.k8s.io domain#219
Tatsinnit merged 1 commit intoAzure:mainfrom
hanseaticsoft:use-cdn-dl-urls

Conversation

@felix-mohr
Copy link
Contributor

dl.k8s.io redirects to cdn.dl.k8s.io which somehow results in constants download errors on a self-hosted runner in the UAE region. Other regions were not affected. Updating the domains fixed the issue

The helper.getLatestPatchVersion method already used the cdn domain

@felix-mohr felix-mohr requested a review from a team as a code owner January 9, 2026 07:40
@felix-mohr
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Hanseaticsoft GmbH"

@Tatsinnit Tatsinnit requested a review from davidgamero January 19, 2026 18:23
Copy link
Collaborator

@davidgamero davidgamero left a comment

Choose a reason for hiding this comment

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

lgtm thank you for the contribution!

@Tatsinnit Tatsinnit enabled auto-merge (squash) February 3, 2026 22:26
@Tatsinnit
Copy link
Member

Thank you so much @felix-mohr for this, and thank @davidgamero for review, seems like commit gatekeeping is not allowing to merge this, to enable if you have time @felix-mohr if you can please sign your commit, otherwise we can help and do that for you, as separate checkin. Whatever works the best. ❤️

@felix-mohr
Copy link
Contributor Author

felix-mohr commented Feb 3, 2026

@Tatsinnit Thank you. Never looked into signing commits, did not add much to public projects yet. Will try later this week and either replace the commit with a signed commit via force push (correct?) or ask you to do it in a new commit :-)

@Tatsinnit
Copy link
Member

Tatsinnit commented Feb 3, 2026

@Tatsinnit Thank you. Never looked into signing commits, did not add much to public projects yet. Will try later this week and either replace the commit with a signed commit via force push (correct?) or ask you to do it in a new commit :-)

Thank you so much @felix-mohr , sounds good, replace the commit with a signed commit via force push will be awesome, Once done, we can re-approve and get your PR merged.

dl.k8s.io redirects to cdn.dl.k8s.io which somehow results in constants download errors on a self-hosted runner in the UAE region. Other regions were not affected. Updating the domains fixed the issue
auto-merge was automatically disabled February 5, 2026 12:11

Head branch was pushed to by a user without write access

@felix-mohr
Copy link
Contributor Author

felix-mohr commented Feb 5, 2026

@Tatsinnit I just signed and force-pushed the commit, I hope all is good now :-). No content changes, just amend the previous commit to sign it.

@Tatsinnit Tatsinnit merged commit f366ff3 into Azure:main Feb 10, 2026
6 checks passed
@felix-mohr
Copy link
Contributor Author

Well, this is great.. Seems kubectl just removed the cdn.dl.k8s.io domain and now returns the binaries directly via the dl.k8s.io domain. So this change (and the one place where cdn was already used) now break this instead.

I could not find any information about this, except for the official download links not using the cdn. subdomain. No real harm yet, as no version of this action was yet release. Maybe wait a few days if things change again and then do another MR with reverts my changes and helper.getLatestPatchVersion where this was already changed before?

@davidgamero
Copy link
Collaborator

davidgamero commented Feb 18, 2026

just saw the failing CI on this

new PR #228 to revert to a working configuration with only links from the kubectl download docs https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/

46s
Run ./
getaddrinfo ENOTFOUND cdn.dl.k8s.io
Waiting 10 seconds before trying again
getaddrinfo ENOTFOUND cdn.dl.k8s.io
Waiting 12 seconds before trying again
Warning: GetStableVersionFailed
getaddrinfo ENOTFOUND cdn.dl.k8s.io
Waiting 12 seconds before trying again
getaddrinfo ENOTFOUND cdn.dl.k8s.io
Waiting 12 seconds before trying again
Error: Error: DownloadKubectlFailed

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.

4 participants

Comments