kptdev / kpt

Automate Kubernetes Configuration Editing
https://kpt.dev
Apache License 2.0
1.71k stars 227 forks source link

gcr.io/kpt-dev/kpt and kpt-gcloud not available #4155

Closed frits-v closed 5 months ago

frits-v commented 6 months ago

Expected behavior

Can pull or list images from public repo as documented

Actual behavior

Cannot pull or list images.

❯ crane ls gcr.io/kpt-dev/kpt
Error: reading tags for gcr.io/kpt-dev/kpt: GET https://gcr.io/v2/kpt-dev/kpt/tags/list?n=1000: DENIED: Failed to read tags for host 'gcr.io', repository '/v2/kpt-dev/kpt/tags/list?n=1000'

Further effects are that the kpt-fn pipelines don't work as intended because they rely on the kpt container image as well.

Information

The repo is either removed or no longer publicly accessible. Please update the documentation with its new location.

Steps to reproduce the behavior

AndrewW85 commented 6 months ago

We are experiencing the same behavior at my company. I even tried both the regular and gcloud images listed on the install page

~ % docker pull gcr.io/kpt-dev/kpt-gcloud             
Using default tag: latest
Error response from daemon: pull access denied for gcr.io/kpt-dev/kpt-gcloud, repository does not exist or may require 'docker login': denied: Permission denied for "latest" from request "/v2/kpt-dev/kpt-gcloud/manifests/latest".

~ % docker image pull gcr.io/kpt-dev/kpt              
Using default tag: latest
Error response from daemon: pull access denied for gcr.io/kpt-dev/kpt, repository does not exist or may require 'docker login': denied: Permission denied for "latest" from request "/v2/kpt-dev/kpt/manifests/latest".
dpangier commented 6 months ago

This is actually worse than it seems - build pipelines using kpt apply-setters fail because the tool uses images to run commands and none of those images are accessible any more. :-(

vs-odie commented 6 months ago

has anyone already a solution for that issue? all our pipielines are broken now, because kpt functions cannot get pulled because of permission errors any more

dpangier commented 6 months ago

Looks like it's been fixed. Thanks

mbacarella commented 6 months ago

Still broken for us.

AndrewW85 commented 6 months ago

Looks like it's been fixed. Thanks

Which image do you use that appears to be fixed?

mortent commented 6 months ago

We are aware of the issue and we are working on finding a solution. Apologies for the inconvenience.

frits-v commented 6 months ago

An easy workaround for the affected would be to build the image and host it on your own registry until a solution is implemented. The binary releases are available on this repository, so you do not need to build it from source.

mortent commented 6 months ago

We have made the latest kpt and kpt-gcloud images available under gcr.io/kpt-fn/kpt and gcr.io/kpt-fn/kpt-gcloud.

yuwenma commented 6 months ago

To add a supplementary to what @mortent suggested. The kpt functions should work. If you encounter issues, please make sure to use the default “unstable” tag. For example, apply-setter should be pulling from gcr.io/kpt-fn/apply-setter:unstable.

mortent commented 6 months ago

The gcr.io/kpt-dev/kpt and gcr.io/kpt-dev/kpt-gcloud images should be available again now.

mortent commented 5 months ago

Closing this issue now, but feel free to re-open if anyone still has problems with the kpt images.