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

Q: Enable only one registry #90

Open
donifer opened this issue Apr 3, 2020 · 1 comment
Open

Q: Enable only one registry #90

donifer opened this issue Apr 3, 2020 · 1 comment

Comments

@donifer
Copy link

donifer commented Apr 3, 2020

Is there a way to only enable a single registry? I'm using Amazon's ECR and I don't need any of the others.

I get it working but I have extra secrets in all my namespaces that I don't use and according to the logs it's constantly trying to get creds from the other registries.

@asampal
Copy link

asampal commented Oct 3, 2022

@donifer did you have to do anything that wasn't documented to get this working? I'm also only using the ECR registry, but I can't seem to get minikube to work with this addon. I keep seeing this in the logs:

time="2022-10-03T21:39:44Z" level=info msg="------------------ [awsecr-cred] ------------------" 
time="2022-10-03T21:39:44Z" level=info msg="Getting secret; try #1 of 4" 
time="2022-10-03T21:40:24Z" level=info msg="RequestError: send request failed
caused by: Post https://ecr.us%E2%80%94west%E2%80%942.amazonaws.com/: dial tcp: lookup ecr.xn--uswest2-316ce.amazonaws.com on 10.96.0.10:53: read udp 10.244.120.71:38921->10.96.0.10:53: i/o timeout" 
time="2022-10-03T21:40:24Z" level=error msg="Error getting secret for provider awsecr-cred. Will try again after 5.000000 seconds. [Err: RequestError: send request failed
caused by: Post https://ecr.us%E2%80%94west%E2%80%942.amazonaws.com/: dial tcp: lookup ecr.xn--uswest2-316ce.amazonaws.com on 10.96.0.10:53: read udp 10.244.120.71:38921->10.96.0.10:53: i/o timeout]" 
time="2022-10-03T21:40:29Z" level=info msg="Getting secret; try #2 of 4" 
time="2022-10-03T21:41:10Z" level=info msg="RequestError: send request failed
caused by: Post https://ecr.us%E2%80%94west%E2%80%942.amazonaws.com/: dial tcp: lookup ecr.xn--uswest2-316ce.amazonaws.com on 10.96.0.10:53: read udp 10.244.120.71:34476->10.96.0.10:53: i/o timeout" 
time="2022-10-03T21:41:10Z" level=error msg="Error getting secret for provider awsecr-cred. Will try again after 5.000000 seconds. [Err: RequestError: send request failed
caused by: Post https://ecr.us%E2%80%94west%E2%80%942.amazonaws.com/: dial tcp: lookup ecr.xn--uswest2-316ce.amazonaws.com on 10.96.0.10:53: read udp 10.244.120.71:34476->10.96.0.10:53: i/o timeout]" 
time="2022-10-03T21:41:15Z" level=info msg="Getting secret; try #3 of 4" 
time="2022-10-03T21:41:55Z" level=info msg="RequestError: send request failed
caused by: Post https://ecr.us%E2%80%94west%E2%80%942.amazonaws.com/: dial tcp: lookup ecr.xn--uswest2-316ce.amazonaws.com on 10.96.0.10:53: read udp 10.244.120.71:39213->10.96.0.10:53: i/o timeout" 
time="2022-10-03T21:41:55Z" level=error msg="Error getting secret for provider awsecr-cred. Will try again after 5.000000 seconds. [Err: RequestError: send request failed
caused by: Post https://ecr.us%E2%80%94west%E2%80%942.amazonaws.com/: dial tcp: lookup ecr.xn--uswest2-316ce.amazonaws.com on 10.96.0.10:53: read udp 10.244.120.71:39213->10.96.0.10:53: i/o timeout]" 
time="2022-10-03T21:42:00Z" level=info msg="Getting secret; try #4 of 4" 
time="2022-10-03T21:42:40Z" level=info msg="RequestError: send request failed
caused by: Post https://ecr.us%E2%80%94west%E2%80%942.amazonaws.com/: dial tcp: lookup ecr.xn--uswest2-316ce.amazonaws.com on 10.96.0.10:53: read udp 10.244.120.71:43840->10.96.0.10:53: i/o timeout" 
time="2022-10-03T21:42:40Z" level=error msg="Error getting secret for provider awsecr-cred. Tried 4 time(s); will not try again until the next refresh cycle. [Err: RequestError: send request failed
caused by: Post https://ecr.us%E2%80%94west%E2%80%942.amazonaws.com/: dial tcp: lookup ecr.xn--uswest2-316ce.amazonaws.com on 10.96.0.10:53: read udp 10.244.120.71:43840->10.96.0.10:53: i/o timeout]" 

I have no idea what lookup it's doing at ecr.xn--uswest2-316ce.amazonaws.com - that host doesn't mean anything to me as my registry is <account ID>.dkr.ecr.us-west-2.amazonaws.co

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