-
Notifications
You must be signed in to change notification settings - Fork 407
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
[BUG]change coreDNS config to support edge-autonomy #1037
Comments
@Congrool Please see if you have anything to add on. |
The main problem is coreDNS does not work in edge-autonomy scenarios; previous issue 880 talked about this, but the problem is still there;It happened when:
coreDNS failing the edge-autonomy test, indicates that coreDNS is not working after cloud-edge disconnection. |
@lorrielau Thank you for uploading the detail info of CoreDNS problem, and i will merge the e2e pull request first. and i am looking forward to you will fix the problem of CoreDNS in another pull request |
@lorrielau dns autonomy in E2E tests is supported in #1045 , so i will close this issue. |
What happened:
In e2e-tests, after we disconnected cloud nodes and restarted coreDNS, coreDNS is not able to resolve addresses. It might be because current coreDNS version is too heavy for edge local cache.
That's why we skipped coreDNS edge-autonomy test in the new edge-autonomy implementation pr: # pr 1022
In addition, current coreDNS schedule strategy does not assure at least one coreDNS on edge, which makes edge autonomy failing for lack of dns resolution ability. Therefore, in e2e-test shell: run-e2e-tests.sh , we use kubectl patch to remove coreDNS deployment-template-tolerations and modify replicas to 1, to make sure coreDNS is scheduled to edge nodes, and there is one and only one coreDNS on edge. So that we can restart the only coreDNS.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Delete the ginkgo.Skip in test/e2e/autonomy.go, Line 184, and the coreDNS e2e-edge-autonomy-test spec will fail.
Anything else we need to know?:
Environment:
kubectl version
): client: 1.19.0, server: 1.22.7cat /etc/os-release
): Ubuntu 18.04.6 LTSuname -a
): x86_64others
/kind bug
The text was updated successfully, but these errors were encountered: