From db006060e6e01747ac72a2e1c94e66ed6508759a Mon Sep 17 00:00:00 2001 From: Murali Reddy Date: Mon, 3 Jun 2019 10:20:15 +0530 Subject: [PATCH] Fix the incorrect case #4 in k8s-src-ip.md With cluster IP, traffic is masquraded only when --masquerade-all option is specified or --cluster-cidr is specified and the source is not from the cluster CIDR range https://github.com/kubernetes/kubernetes/blob/v1.14.2/pkg/proxy/iptables/proxier.go#L842 --- docs/k8s-src-ip.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/k8s-src-ip.md b/docs/k8s-src-ip.md index 6d453873..ec375535 100644 --- a/docs/k8s-src-ip.md +++ b/docs/k8s-src-ip.md @@ -14,7 +14,7 @@ 1 | Pod_h1 | ip(Pod_h2) | Pod_h2 | ip(Pod_h1) | OK 2 | h1 | ClusterIP | Pod_h1 | ip(weave_h1) | **NOK** 3 | h1 | ClusterIP | Pod_h2 | ip(weave_h1) | OK -4 | Pod_h1 | ClusterIP | Pod_h1 | ip(weave_h1) | **NOK** +4 | Pod_h1 | ClusterIP | Pod_h1 | ip(Pod_h1) | OK 5 | Pod_h1 | ClusterIP | Pod_h2 | ip(weave_h1) | OK 6 | h1 | ip(h1):NodePort | Pod_h1 | ip(weave_h1) | **NOK** 7 | h1 | ip(h1):NodePort | Pod_h2 | ip(weave_h1) | OK