-
Notifications
You must be signed in to change notification settings - Fork 406
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
[Question] How should tunnel-server be deployed #462
Comments
@adamzhoul Welcome you to apply OpenYurt community member. you can add me as sponsor and apply example is here: openyurtio/community#23 |
@adamzhoul @DrmagicE Would you can give more detail configuration of yurt-tunnel-server to support dns mode. |
simplify my problem is : isn't that? |
@adamzhoul Thanks for your feedback.
|
hi @rambohe-ch search k8s code found. here: I assume you mean type: apiServer part
yurt-tunnel-server part
Questionsso , I still have two questions:
|
--> I'm sorry we do not have tutorial at present, about coredns setting you can reference this pull request: #270 By the way, i have raised an issue that look for help for a tutorial about yurt-tunnel-server dns mode: #417, if you have interested in it, you can take over this issue.
--> Both iptables mode and dns mode of yurt-tunnel-server can be supported at the same time. |
@rambohe-ch thanks for answering. I can try to help with the DNS mod doc once figure out each part of the DNS mode. |
@adamzhoul Welcome you to apply OpenYurt community member, here is an example: openyurtio/community#23 |
@adamzhoul Hi, here is my experience on setting yurt-tunnel DNS mode, it may not be the best practice, but it works for me.
①:Add EndpointSliceProxying featurGates.
① Put "Hostname" in the first place. Hope it helps. |
thanks @DrmagicE it helps a lot.
check the pr. so we do have to manually config to volume config to coreDNS. and, the final target is to make all this automatic, no manual config, right? |
thanks. working on it. |
What happened:
tunnel-server is deployed as deployment and scheduled to the node which is not the same as apiServer.
What you expected to happen:
as far as I know, it should change iptables, to redirect apiServer traffic to self when targeting edge kublet.
if they are not on the same node, how to do this.
How to reproduce it (as minimally and precisely as possible):
check the template:
openyurt/pkg/yurtctl/constants/yurt-tunnel-server-tmpl.go
Line 191 in 47a88ea
others
/kind question
The text was updated successfully, but these errors were encountered: