-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error when pulling image from private ECR #303
Comments
Hi @riupie, Where is deployed your k8s cluster : is it an EKS one ? Something else ? |
@Nicolasgouze I deployed on top EKS.
It's weird, so what make my image failed to pull image? Should I put service account on registry deployment? |
Hello, Sorry but I couldn't reproduce this bug in my EKS setup. Does you EKS setup has anything particular? Can you pull this image without kuik? (you can use the value |
Yes, I can pull the image without kuik since it already deployed from the start.
|
I'm not totally sure if this is related, but maybe this could help : awslabs/amazon-ecr-credential-helper#581 |
@Nicolasgouze how kuik authenticate and pull image from private repository? as I remember we didn't need to setup role/pull secret on kuik itself, only on related app deployment. |
@riupie in v1.7.1, the caching mechanism is implemented in registry.go#L105-L122 which uses the |
Sorry, I revise my statement here. My EKS didn't use IRSA or pull secret at all. I use IAM role that attached to each EKS node group for ECR access. Is it already supported? |
I think I found the culprit. |
According to the AWS documentation, it is indeed recommended to set this value to 2 : https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
You should consider finding a way to set the hoplimit to 2. I close the issue since there is nothing we can do on our side considering that the issue comes from a bad configuration in your AWS account. |
Hi, I have some deployment that use private ECR. I use service account for credential. I read that kuik already support it on version 1.5.0 and right now I use 1.7.1 but somehow I am still getting error.
Error log from controller:
Do I need to add some credential somewhere?
The text was updated successfully, but these errors were encountered: