Enable/restore eBPF DP scripts for Calico CNI 46/4946/1
authortrevor tao <trevor.tao@arm.com>
Wed, 13 Jul 2022 10:51:33 +0000 (18:51 +0800)
committertrevor tao <trevor.tao@arm.com>
Wed, 13 Jul 2022 10:51:33 +0000 (18:51 +0800)
commitbf8c38a13036ac507b3a8f79add3d41902f4615a
treec8bab2aac01290ee4ccf74c2bd8ace7886864be3
parent6b74a888d0d965d8c7a4d1b762c81e42a0f9b418
Enable/restore eBPF DP scripts for Calico CNI

1. enable_bpf.sh
Enable eBPF dataplane, which will disable kube-proxy
at the same time;

2. restore_bpf.sh
Disable eBPF dataplane, which will enable kube-proxy
at the same time.

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I0055b3f8e40eea8e23170091281ce338e511ee10
src/foundation/scripts/cni/calico/k8s-new/enable_bpf.sh [new file with mode: 0755]
src/foundation/scripts/cni/calico/k8s-new/restore_bpf.sh [new file with mode: 0755]