mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-19 05:27:26 +00:00
Set reverse path forwarding to strict.
Calico requires the default reverse path forwarding to be either 0 (no validation) or 1 (strict validation). The default value of 2 (loose validation) prevents calico from completing the setup and the pod is always stuck getting ready. Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
This commit is contained in:
committed by
Manohar Castelino
parent
d688cbb693
commit
14ae8d11f7
@@ -22,6 +22,7 @@ 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
|
||||
EOT
|
||||
sudo systemctl restart systemd-sysctl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user