-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: switch to registry.k8s.io #23821
Conversation
a040db6
to
ec62aea
Compare
ec62aea
to
2edb956
Compare
/test Job 'Cilium-PR-K8s-1.16-kernel-4.19' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for looking into this!
See: https://kubernetes.io/blog/2022/11/28/registry-k8s-io-faster-cheaper-ga/.
I'd really like to see that reference in the commit description, to avoid having to look up for the GitHub PR to get the link to this context.
Old images will remain on the old registry past April 3rd, but this should not be considered a permanent or long term option and may be subject to pruning in the future.
Joe, André, Maciej: I don't know what “long term” means here, with regards to support for our older branch. I suppose that we should backport this PR to all branches?
2edb956
to
c8804ee
Compare
@qmonnet Thank you for taking the time to look at the PR! I amended the commit. |
Thanks! |
@@ -88,26 +88,26 @@ items: | |||
sizeBytes: 459801943 | |||
- names: | |||
- docker.io/library/import-2022-09-02@sha256:f27fe306ea3c0e3ef176dda243bcbcc2bd8fa0f9d19f87285b0fb47e96d85f93 | |||
- k8s.gcr.io/kube-proxy:v1.23.10 | |||
- registry.k8s.io/kube-proxy:v1.23.10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes here are generated from script, and mainly depends on kind + workder node versions, I am not sure if we should update these files, as they can be reverted back next time we run the script.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sayboras Can you link the script that generate those files ? I'm not familiar with the codebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, here is the one for this test
https://github.com/cilium/cilium/blob/master/test/controlplane/node/ciliumnodes/generate.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might be able to try this out with make -C test/controlplane/ generate-input-files
, but it seems that it is sensitive to some local environment settings.
@qmonnet based on this line:
I think we need to backport this change to Cilium 1.13, as 1.13 supports Kubernetes 1.25 and 1.26. Older Cilium branches are probably fine using the old registry. |
c75a54b
to
d81e7bf
Compare
The main Kubernetes container registry is now defaulted to registry.k8s.io. See: kubernetes.io/blog/2022/11/28/registry-k8s-io-faster-cheaper-ga Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
d81e7bf
to
de9f8fa
Compare
@nebril @qmonnet Happy to do the backports once this is merged. |
Thanks! But we usually handle backports with a semi-automated process (there's a weekly rotation for the person handling backports), so unless some major conflict arises, which sounds unlikely on this PR, you shouldn't have to worry about it :) |
/test |
/test-1.16-4.19 |
do we need to rebase to pick up #23847, or should i just ignore the pending |
/ci-verifier |
The mentioned PR didn't work for me in one case #23847 (comment), so I just trigger ci-verifier manually, let's see how it's going. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from my above comment on controlplane manifest, which can be considered as nitpick.
The rest looks good to me. Thanks.
The main Kubernetes container registry is now defaulted to registry.k8s.io. See: https://kubernetes.io/blog/2022/11/28/registry-k8s-io-faster-cheaper-ga/.
Switching to the new registry.