From d5dd6fd0234b46ef4a8a6d8b1120bd760765657c Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Fri, 23 Feb 2024 12:50:22 +0900 Subject: [PATCH] cicd: changes for garp to accepted in sycn scenario --- cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/common.sh | 3 +++ cicd/k8s-calico-ipvs2-ha-ka-sync/node_scripts/host.sh | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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