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 <saikrishna.edupuganti@intel.com>
This commit is contained in:
Saikrishna Edupuganti
2019-06-20 23:43:06 +00:00
committed by Manohar Castelino
parent 0e280f40fa
commit 8ab98c53db
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -159,6 +159,8 @@ spec:
value: "info"
- name: FELIX_HEALTHENABLED
value: "true"
- name: FELIX_IGNORELOOSERPF
value: "true"
securityContext:
privileged: true
resources:
-2
View File
@@ -22,8 +22,6 @@ fi
sudo mkdir -p /etc/sysctl.d/
cat <<EOT | sudo bash -c "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