Skip to content
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

Use remote.Head for resolving digests #9448

Closed
wants to merge 1 commit into from
Closed

Conversation

julz
Copy link
Member

@julz julz commented Sep 17, 2020

Dockerhub is soon going to start charging for pulling images. Using HEAD instead of GET for resolving the digests avoids unnecessarily counting the digest resolution as a pull.

Credits @vito for original issue and actual work in go-containerregistry which this PR bumps to pick up. Also thanks @jonjohnsonjr for the heads-up

Release Note

Uses HEAD rather than GET for resolving image digests, which avoids counting image digest resolution against dockerhub pull quotas.

/assign @markusthoemmes @mattmoor

Dockerhub is soon going to start charging for pulling images. Using HEAD
instead of GET for resolving the digest avoids unneccesarily counting
the digest resolution as a pull.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Sep 17, 2020
@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 17, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: julz
To complete the pull request process, please assign dprotaso
You can assign the PR to them by writing /assign @dprotaso in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@julz: 0 warnings.

In response to this:

Dockerhub is soon going to start charging for pulling images. Using HEAD instead of GET for resolving the digests avoids unnecessarily counting the digest resolution as a pull.

Credits @vito for original issue and actual work in go-containerregistry which this PR bumps to pick up. Also thanks @jonjohnsonjr for the heads-up

Release Note

Uses HEAD rather than GET for resolving image digests, which avoids counting image digest resolution against dockerhub pull quotas.

/assign @markusthoemmes @mattmoor

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.

@knative-prow-robot knative-prow-robot added the area/API API objects and controllers label Sep 17, 2020
@markusthoemmes
Copy link
Contributor

Is this a dup of #9442?

@julz
Copy link
Member Author

julz commented Sep 17, 2020

ha, oops, race condition I guess! Matt's was first

/close

@knative-prow-robot
Copy link
Contributor

@julz: Closed this PR.

In response to this:

ha, oops, race condition I guess! Matt's was first

/close

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.

@mattmoor
Copy link
Member

There's also an e2e failure with this because the failure mode (at least against GCR) changes. I pinged @jonjohnsonjr about this since I think it uncovered a couple GCR bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/API API objects and controllers cla: yes Indicates the PR's author has signed the CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants