From 8ab98c53db5974a01f0165e3dd46b56527021e07 Mon Sep 17 00:00:00 2001 From: Saikrishna Edupuganti Date: Thu, 20 Jun 2019 23:43:06 +0000 Subject: [PATCH] Configure canal to ignore rpf instead of host Modifying rp_filter setting on host seems to be causing a routing issue when connecting to a pod from remote node. Until we figure out the best way to solve the issue, we are configuring canal to ignore default setting of 2 Fixes: #102 Signed-off-by: Saikrishna Edupuganti --- clr-k8s-examples/0-canal/canal.yaml | 2 ++ clr-k8s-examples/setup_system.sh | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clr-k8s-examples/0-canal/canal.yaml b/clr-k8s-examples/0-canal/canal.yaml index 6666a2c..17b3cd4 100644 --- a/clr-k8s-examples/0-canal/canal.yaml +++ b/clr-k8s-examples/0-canal/canal.yaml @@ -159,6 +159,8 @@ spec: value: "info" - name: FELIX_HEALTHENABLED value: "true" + - name: FELIX_IGNORELOOSERPF + value: "true" securityContext: privileged: true resources: diff --git a/clr-k8s-examples/setup_system.sh b/clr-k8s-examples/setup_system.sh index f1614bf..4f00498 100755 --- a/clr-k8s-examples/setup_system.sh +++ b/clr-k8s-examples/setup_system.sh @@ -22,8 +22,6 @@ fi sudo mkdir -p /etc/sysctl.d/ cat < /etc/sysctl.d/60-k8s.conf" net.ipv4.ip_forward=1 -net.ipv4.conf.default.rp_filter=1 -net.ipv4.conf.all.rp_filter=1 EOT sudo systemctl restart systemd-sysctl