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

Image Permission Denied #3

Closed
amardeepsingh20 opened this issue May 5, 2020 · 3 comments
Closed

Image Permission Denied #3

amardeepsingh20 opened this issue May 5, 2020 · 3 comments

Comments

@amardeepsingh20
Copy link

I am trying to run the image on Google Cloud Run but it seems that the permission to read the image is denied. I am getting this error in Google Cloud Run console.

_

Google Cloud Run Service Agent must have permission to read the image, gcr.io/cyrildiagne-ml/basnet-http. Ensure that the provided container image URL is correct and that the above account has permission to access the image. If you just enabled the Cloud Run API, the permissions might take a few minutes to propagate. Note that the image is from project [cyrildiagne-ml], which is not the same as this project [playground-amardeep]. Permission must be granted to the Google Cloud Run Service Agent from this project.

_

@cyrildiagne
Copy link
Owner

cyrildiagne commented May 5, 2020

Sorry, the image wasn't correctly configured. It's public now so you should be able to pull!

EDIT: In case someone comes back here, the image has been moved to docker hub so make sure you now use: docker.io/cyrildiagne/basnet-http

@amardeepsingh20
Copy link
Author

amardeepsingh20 commented May 5, 2020

Thanks. I was able to deploy it on Cloud Run but I am getting memory limit errors.

Memory limit of 2048M exceeded with 2307M used. Consider increasing the memory limit
Cloud Run does not have GPU .. is that the reason?

What is the best way to deploy it on Google Cloud/AWS? If you could give some directions that would be great! Thanks

@cyrildiagne
Copy link
Owner

I've added more details about the memory requirements in the basnet-http repo.
But adding detailed informations on how to deploy to a cloud instance is beyond the scope of this prototype. Would make sense to have then in the basnet-http repo though!

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

No branches or pull requests

2 participants