Update 2018-07-09-IPVS-In-Cluster-Load-Balancing.md
This commit is contained in:
@@ -6,15 +6,6 @@ layout: blog
|
||||
title: 'IPVS-Based In-Cluster Load Balancing Deep Dive'
|
||||
date: 2018-07-09
|
||||
---
|
||||
<!--
|
||||
---
|
||||
cn-approvers:
|
||||
- congfairy
|
||||
layout: blog
|
||||
title: 'IPVS-In-Cluster-Load-Balancing'
|
||||
date: 2018-07-09
|
||||
---
|
||||
-->
|
||||
|
||||
<!--
|
||||
|
||||
@@ -38,7 +29,7 @@ Per the Kubernetes 1.11 release blog post , we announced that IPVS-Based In-Clus
|
||||
|
||||
介绍
|
||||
|
||||
根据 Kubernetes 1.11 发布的博客文章, 我们宣布基于 IPVS 的集群内部服务负载均衡已达到一般可用性。 在这篇博客中,我们将带您深入了解该功能
|
||||
根据 Kubernetes 1.11 发布的博客文章, 我们宣布基于 IPVS 的集群内部服务负载均衡已达到一般可用性。 在这篇博客中,我们将带您深入了解该功能。
|
||||
|
||||
<!--
|
||||
|
||||
@@ -249,7 +240,6 @@ There are three proxy modes in IPVS: NAT (masq), IPIP and DR. Only NAT mode supp
|
||||
|
||||
IPVS 中有三种代理模式:NAT(masq),IPIP 和 DR。 只有 NAT 模式支持端口映射。 Kube-proxy 利用 NAT 模式进行端口映射。 以下示例显示 IPVS 服务端口3080到Pod端口8080的映射。
|
||||
|
||||
|
||||
TCP 10.102.128.4:3080 rr
|
||||
-> 10.244.0.235:8080 Masq 1 0 0
|
||||
-> 10.244.1.237:8080 Masq 1 0
|
||||
@@ -296,8 +286,6 @@ However, we don't want to create too many iptables rules. So we adopt ipset for
|
||||
|
||||
-->
|
||||
|
||||
|
||||
|
||||
IPVS 代理中的 Iptables 和 Ipset
|
||||
|
||||
IPVS 用于负载均衡,它无法处理 kube-proxy 中的其他问题,例如 包过滤,数据包欺骗,SNAT 等
|
||||
@@ -377,7 +365,6 @@ Finally, for Kubernetes v1.10, feature gate SupportIPVSProxyMode is set to true
|
||||
|
||||
最后,对于 Kubernetes v1.10,“SupportIPVSProxyMode” 默认设置为 “true”。 对于 Kubernetes v1.11 ,该选项已完全删除。 但是,您需要在v1.10之前为Kubernetes 明确启用--feature-gates=SupportIPVSProxyMode=true。
|
||||
|
||||
|
||||
<!--
|
||||
|
||||
Get Involved
|
||||
|
||||
Reference in New Issue
Block a user