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
images: Removes OS Version workaround for manifest list images #103156
images: Removes OS Version workaround for manifest list images #103156
Conversation
For manifest lists containing Windows images, it is important to also have the "os.version" annotation set, as it is needed by the Windows nodes, so they can pull the appropriate image from the list. Previously, the docker manifest CLI did not have the capability to set it, so, we had to set it outselves in the manifest list's image JSON file. This is no longer necessary since docker 20.10.0, which includes docker manifest annotate --os-version. The docker installed in the image gcr.io/k8s-testimages/gcb-docker-gcloud:v20210622-762366a satisfies this version requirement.
@claudiubelu: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
@BenTheElder @cblecker Any concern over the new minimum docker version dependency? |
I think this is reasonable, most developers are not building the test images anyhow, I'm not sure exactly where we should draw the line for the core images which lots of people are building all the time for development in addition to downstream distros, but for test images mostly built by CI this seems fine without getting too into the weeds. I think there's a discussion to be had somewhere about what docker version is reasonable to require, along with the buildx issue |
FWIW, the image |
/milestone v1.23 |
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: claudiubelu, spiffxp 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 |
What type of PR is this?
/kind cleanup
/sig testing
/sig windows
What this PR does / why we need it:
For manifest lists containing Windows images, it is important to also have the
os.version
annotation set, as it is needed by the Windows nodes, so they can pull the appropriate image from the list.Previously, the docker manifest CLI did not have the capability to set it, so, we had to set it outselves in the manifest list's image JSON file. This is no longer necessary since docker 20.10.0, which includes
docker manifest annotate --os-version
.The docker installed in the image
gcr.io/k8s-testimages/gcb-docker-gcloud:v20210622-762366a
satisfies this version requirement.Docker CLI PR: docker/cli#2578
Pause image logs: https://paste.ubuntu.com/p/dS9tKWqYsw/
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: