Skip to content

Push app image via external URL if registry is exposed #2419

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

Open
kwiatekus opened this issue Mar 18, 2025 · 0 comments
Open

Push app image via external URL if registry is exposed #2419

kwiatekus opened this issue Mar 18, 2025 · 0 comments

Comments

@kwiatekus
Copy link
Contributor

Description

Improve stability of pushing image into kyma's registry as part of kyma app push and registry image-import commands by using external url whenever external access is enabled.

Reasons

kyma app push when used with --code-path or --dockerfile option builds the app image and pushes it to kyma's docker registry via internal url and a local port-forward. This lacks stability.
In case docker registry is exposed, image push should happen via external url.

Attachment

kyma alpha app push --name bookstore --expose --container-port 3000 --mount-secret hana-hdi-binding --code-path sample-http-db-nodejs/bookstore
 
Importing bookstore:2025-03-13_16-06-26
Error:
  failed to import image to in-cluster registry

Error Details:
  failed to push image to the in-cluster registry: PUT https://localhost:32137/v2/bookstore/blobs/uploads/c0ae3d32-c861-4ed5-a796-43bf9434b954?_state=REDACTED&digest=sha256%3Acb4197092ed16fbdd56eafda1c0995d527ca3a0621d3b1787a1376e8478d751c: BLOB_UPLOAD_UNKNOWN: blob upload unknown to registry; map[]
@kwiatekus kwiatekus added this to the 3.0.0 milestone Mar 18, 2025
@kwiatekus kwiatekus modified the milestones: 3.0.0, 3.1.0 Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant