Skip to content

Publish official opentelemetry-collector-contrib Images to ECR Public #839

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
garysassano opened this issue Feb 24, 2025 · 12 comments
Open
Labels
enhancement New feature or request

Comments

@garysassano
Copy link
Member

Component(s)

No response

Is your feature request related to a problem? Please describe.

There is no official opentelemetry-collector-contrib image available in ECR Public, meaning you must host your own version in a private registry to deploy the OTelcontrib Collector on AWS services.

Asana provides an unofficial image with around 2 million downloads, but it is not regularly updated. The latest available version is nearly three months old, and no other tags are accessible.

Describe the solution you'd like

It would be beneficial if OpenTelemetry published official images directly, as this would better serve many individuals and companies using AWS services like ECS, EKS, Lambda, and App Runner.

Describe alternatives you've considered

No response

Additional context

No response

@garysassano garysassano added the enhancement New feature or request label Feb 24, 2025
@garysassano garysassano changed the title Public opentelemetry-collector-contrib to ECR Public Publish official opentelemetry-collector-contrib Images to ECR Public Feb 24, 2025
@atoulme
Copy link
Contributor

atoulme commented Feb 25, 2025

Thank you for filing this issue. I will move it to the opentelemetry-collector-releases repository.

@atoulme atoulme transferred this issue from open-telemetry/opentelemetry-collector-contrib Feb 25, 2025
@mowies
Copy link
Member

mowies commented Mar 3, 2025

This is something that would need to be decided by the maintainers since it would require an OTel controlled AWS account among other things. Maybe join one of the next Collector SIG meetings to discuss your issue there.

You can find the schedule, agenda and meeting link here.

@mowies
Copy link
Member

mowies commented Mar 3, 2025

Also, you can just use the GHCR hosted image in AWS without issues, no?

@garysassano
Copy link
Member Author

@mowies No, AWS services can only deploy from ECR. If an image is not on ECR, you need to either host it yourself or create a pull-through cache.

@mowies
Copy link
Member

mowies commented Mar 3, 2025

What about this?
GHCR would work in the same way mostly.

@garysassano
Copy link
Member Author

That article shows an outdated approach that predates the introduction of ECR Pull Through Cache. It still requires supplying Docker Hub credentials for authentication, adding unnecessary complexity for AWS users compared to directly using the ECR Public image.

@mowies
Copy link
Member

mowies commented Mar 10, 2025

Sorry, for the outdated article, but here's how to do it straight from the latest AWS docs: Link

It still requires a token for GHCR but it doesn't work with it using the normal cache rules.

I think that could be an ok interim solution, but let's maybe discuss this with maintainers in one of the upcoming SIG meetings.

@garysassano
Copy link
Member Author

Sorry, but I don't understand why you want to use GHCR when you can simply use the Docker Hub image. And that still isn't as convenient as having the image available on ECR Public directly.

@mowies
Copy link
Member

mowies commented Mar 10, 2025

You can of course use dockerhub as well, it doesn't really make a big difference.
As I commented before, let's discuss it in a SIG meeting, I don't have the power to decide anything about it anyways, I'm just triaging the issue and trying to help you find an interim solution.

@hxyannay
Copy link

Would love for this to happen, as our EKS cluster is getting rate limited by pulling the image opentelemetry-collector-contrib docker image at times, as you can only pull 10 images per hour from dockerhub when unauthenticated.

@mowies
Copy link
Member

mowies commented Mar 13, 2025

maybe the @open-telemetry/collector-contrib-maintainers have some input here

@andrzej-stencel
Copy link
Member

I'm on board with pushing the images to public ECR (or any public and free container registry).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants