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
[RFE] Certify/document enabling ipvs in k8s 1.11 for rancher 1.6 #15718
Comments
I think we can drop this feature if this related ticket is addressed: #16018 |
@aemneina based on the initial research don't think tuning dns would be trivial. We can try ipvs solution first as it seems to be more straightforward |
@alena1108 cool, can we check this out for both 1.6 and 2.x. Let me know if you want another ticket to track 2.x |
For 1.6:
With the above changes, to use ipvs proxy mode:
For 2.0:
|
@aemneina Do you have steps to reproduce the DNS package dropping issue so I can verify it? I've tried some tools to mock a loaded cluster but got no luck. |
I think we were able to make this happen by running a lot of containers
that did dig or nslookup at the same time. The applications that we first
noticed this on made lots of outbound service calls that had to be resolved
by dns first. Let me know if you have any other questions.
…On Tue, Nov 20, 2018 at 3:38 AM Lawrence Li ***@***.***> wrote:
@aemneina <https://github.com/aemneina> Do you have steps to reproduce
the DNS package dropping issue so I can verify it? I've tried some tools to
mock a loaded cluster but got no luck.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15718 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAc_YusU5Rht-KOMSmyQ_jy_fjEK-RuHks5uw7-GgaJpZM4WxEsm>
.
|
To reproduce upstream dns issue:
Example outputs:
Enabling IPVS mode does not help solve the upstream DNS issue, we still get 5s timeout in clusters using IPVS mode. |
@superseb @alena1108, @Oats87 pointed me to Node Local DNS, which should be a solid solution. Forces dns lookups over TCP. I believe it's alpha in 1.13.x |
@aemneina that would be the best solution given it's officially supported by k8s. And that k8s 1.13 was released today, 12/03/2018 :) |
No need to validate for now as ipvs support was added to address #16018 |
With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches. |
As 1.6 is EOL as of June 30, 2020, we are closing 1.6 issues. |
Rancher versions:
rancher/server or rancher/rancher:v1.6.22
Feature:
This should be straight forward to configure:
update the kube proxy with flags to enable ipvs and ipvs scheduling as well as cleanup for ipvs, I'm looking for this feature to be validated or certified for rancher. Points for making it configurable via the k8s catalog template. The main problem is in DNS query intensive environments DNS + iptables + conntrack, some fraction of DNS queries end up in dns purgatory.
Background
https://www.weave.works/blog/racy-conntrack-and-dns-lookup-timeouts
The text was updated successfully, but these errors were encountered: