-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
Support AWS ECR credentials in China #50108
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Whoa, it's kinda crazy that they went for a separate domain, but I can see why. Is there any Amazon documentation? Even amazonaws.cn does not mention it. |
const registryURLTemplate = "*.dkr.ecr.%s.amazonaws.com" | ||
const chinaRegistryURLTemplate = "*.dkr.ecr.%s.amazonaws.com.cn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it amazonaws.com.cn or amazonaws.cn?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it just looked weird, given that the site is on amazonaws.cn...
I kinda verified that at least the domain seems to resolve and point to a proxy to somewhere...
$ host 1.dkr.ecr.cn-north-1.amazonaws.com.cn
1.dkr.ecr.cn-north-1.amazonaws.com.cn is an alias for proxy-cn-n-ProxyLB-OBNGHVYY3YZ4-1759429497.cn-north-1.elb.amazonaws.com.cn.
proxy-cn-n-ProxyLB-OBNGHVYY3YZ4-1759429497.cn-north-1.elb.amazonaws.com.cn has address 54.223.199.172
proxy-cn-n-ProxyLB-OBNGHVYY3YZ4-1759429497.cn-north-1.elb.amazonaws.com.cn has address 54.223.149.208
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amazonaws.cn is kind like aws.amazon.com for web visit and amazonaws.com.cn is the mirror site for amazonaws.com. It's really painful here to deal with the GFW related problems.
/assign @deads2k |
Should I wait for the ok-to-test? |
/approve no-issue |
/ok-to-test |
@zzq889: you can't request testing unless you are a kubernetes member. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@therc can you type ok-to-test? |
/ok-to-test |
@k8s-bot ok to test |
@k8s-bot test this |
@therc I've update the code and testcase. Is ok-to-test still required for retest? |
@therc Even if I revert the code I still got test fail:
Any ideas? |
/lgtm /retest I also can't see the reason for the test failure, but if the restest doesn't get it I can fire it up in a debugger |
@zzq889 awsStandardDNSSuffix should be amazonaws.com:
|
Any chance this can be added into a 1.6 release as well? |
@deads2k Any idea when this can be approved? This is super critical for running in China. |
I see the comment as outstanding: #50108 (comment) Also, needs a squash. |
@zzq889 When do you plan to make this fix? #50108 (comment) |
@zzq889 Any update? Its been a month. |
/retest |
What I need to do with this error? @justinsb |
/retest That just looks like a test flake |
/lgtm |
/assign @deads2k |
/approve no-issue |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, justinsb, zzq889 Associated issue requirement bypassed by: deads2k The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@zzq889: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/retest Review the full test history for this PR. |
Automatic merge from submit-queue (batch tested with PRs 55254, 55525, 50108, 54674, 55263). If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
Resolve AWS ECR credentials bug in China region
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #I haven't open any issue yet
Special notes for your reviewer:
Release note: