-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 KCP: use new registry for Kubernetes >= v1.22 #7471
🌱 KCP: use new registry for Kubernetes >= v1.22 #7471
Conversation
Signed-off-by: Stefan Büringer [email protected]
/assign @fabriziopandini |
/test ? |
This comment was marked as outdated.
This comment was marked as outdated.
/test pull-cluster-api-e2e-full-main |
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.
/lgtm
/lgtm |
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.
/lgtm
@@ -87,7 +87,7 @@ var ( | |||
|
|||
// minKubernetesVersionImageRegistryMigration is first kubernetes version where | |||
// the default image registry is registry.k8s.io instead of k8s.gcr.io. | |||
minKubernetesVersionImageRegistryMigration = semver.MustParse("1.25.0") | |||
minKubernetesVersionImageRegistryMigration = semver.MustParse("1.22.0") |
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.
are the images available for all 1.22 patches (ie. not starting at a specific patch)?
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.
for i in {0..15}
do
docker pull registry.k8s.io/kube-apiserver:v1.22.${i}
docker pull registry.k8s.io/kube-controller-manager:v1.22.${i}
docker pull registry.k8s.io/kube-scheduler:v1.22.${i}
docker pull registry.k8s.io/kube-proxy:v1.22.${i}
done
Worked for me.
Tried a few etcd images. Seem to be there as well.
@neolit123 Do you have some information about which related images should be available in the new registry? I guess there was some kind of sync effort?
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.
might be @ameukam can help here
the same question applies for older patch release of newer K8s versions
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.
Let's wait for an answer. I don't have a good way to verify that all images exist
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.
All the images present in k8s.gcr.io
will be available in registry.k8s.io
. the promotion process covert both endpoints.
@sbueringer you can use crane
or imgpkg
to verify this.
imgpkg tag list -i registry.k8s.io/kube-proxy | grep '1.22.' 12:55:05 AM
sha256-b137918392d06ed92c521d93c105b12224604e8e425c1e30ec194d665e1db9a8.sig
v1.22.0
v1.22.0-alpha.0
v1.22.0-alpha.1
v1.22.0-alpha.2
v1.22.0-alpha.3
v1.22.0-beta.0
v1.22.0-beta.1
v1.22.0-beta.2
v1.22.0-rc.0
v1.22.1
v1.22.1-rc.0
v1.22.10
v1.22.10-rc.0
v1.22.11
v1.22.11-rc.0
v1.22.12
v1.22.12-rc.0
v1.22.13
v1.22.13-rc.0
v1.22.14
v1.22.14-rc.0
v1.22.15
v1.22.15-rc.0
v1.22.16-rc.0
v1.22.2
v1.22.2-rc.0
v1.22.3
v1.22.3-rc.0
v1.22.4
v1.22.4-rc.0
v1.22.5
v1.22.5-rc.0
v1.22.6
v1.22.6-rc.0
v1.22.7
v1.22.7-rc.0
v1.22.8
v1.22.8-rc.0
v1.22.9
v1.22.9-rc.0
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.
I think our concern was mostly about old images as we assumed the image promotion process was changed a lot later then the 1.22, ... releases and we didn't know if there was some sort of additional sync.
But I assume this
All the images present in k8s.gcr.io will be available in registry.k8s.io
means there was a full sync from k8s.gcr.io to registry.k8s.io
lgtm pending answer to the comment about image availability for the entire 1.22 series (as well as for newer series) |
same ^ |
Based on #7471 (comment) let's merge @fabriziopandini can you approve? (don't want to merge my own PR without lgtm from another maintainer in this case) |
thanks @ameukam for context! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherry-pick release-1.2 |
@sbueringer: new pull request created: #7505 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: Stefan Büringer [email protected]
What this PR does / why we need it:
Before this PR we started using the new registry with Kubernetes 1.25.
Given:
let's align and already use the new registry for Kubernetes >= v1.22
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #7472