简体   繁体   English

Kubernetes Ingress控制器vs kube-proxy

[英]Kubernetes Ingress controller vs kube-proxy

An ingress controller is a Layer 7 construct. 入口控制器是第7层构造。 Does it bypass the Service (VIP) and Layer 4 kube proxy? 它是否绕过了服务(VIP)和第4层kube代理?

In a nutshell: Ingress deals with North-South traffic (bringing traffic from the outside world into the cluster), a service acts a load balancer, routing the traffic to one of its pods. 简而言之:Ingress处理南北交通(将来自外部世界的流量带入集群),服务作为负载均衡器,将流量路由到其中一个pod。 So, if I understand your question correctly, the answer is no: Ingress and services work together to get traffic from a client outside of the cluster to a certain pod. 因此,如果我正确理解您的问题,答案是否定的:Ingress和服务协同工作,以便从集群外部的客户端获取流量到某个pod。

You can read more about the topic in an excellent blog post series by Mark Betz (linked from here , in the "3rd-party articles" section). 您可以在Mark Betz的精彩博客文章系列中阅读有关该主题的更多信息(链接自此处的“第三方文章”部分)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM