diff --git a/cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/common.sh b/cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/common.sh index b8634194f..63b64c101 100644 --- a/cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/common.sh +++ b/cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/common.sh @@ -4,6 +4,9 @@ set -euxo pipefail +sysctl net.ipv4.conf.all.arp_accept=1 +sysctl net.ipv4.conf.eth1.arp_accept=1 + # Variable Declaration # DNS Setting diff --git a/cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/host.sh b/cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/host.sh index 2fa1db28e..ef3782757 100755 --- a/cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/host.sh +++ b/cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/host.sh @@ -1,4 +1,7 @@ -# Install Bird to work with k3s + +sysctl net.ipv4.conf.all.arp_accept=1 +sysctl net.ipv4.conf.eth1.arp_accept=1 + sudo apt-get update sudo apt-get -y install lksctp-tools iperf