TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How does Kubernetes modify/add API endpoints at Runtime?

4 点作者 Kreotiko超过 3 年前
I tried reading through the Kubernetes source code but can’t find low level documentation. Can anyone point me to the relevant bits?

1 comment

gwittel超过 3 年前
Do you mean with respect to balancing when endpoints come&#x2F;go (e.g. a POD goes up&#x2F;down)? Or something else?<p>In this case, it depends on the ingress controller used. The default nginx ingress case has some docs: <a href="https:&#x2F;&#x2F;kubernetes.github.io&#x2F;ingress-nginx&#x2F;how-it-works&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kubernetes.github.io&#x2F;ingress-nginx&#x2F;how-it-works&#x2F;</a><p>Note that nginx-ingress has limitations as a side effect of its Lua balancer vs normal nginx. As an example, it does NOT do TLS-resume on the nginx&lt;-&gt;service hop. Normal nginx would, but the lua balancer lacks the necessary code [1]. In some high volume scenarios, this can cause trouble on the backend.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;openresty&#x2F;lua-nginx-module&#x2F;pull&#x2F;1312" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;openresty&#x2F;lua-nginx-module&#x2F;pull&#x2F;1312</a>
评论 #29018125 未加载