From a85d836a169710669f3397a4291863bac7660566 Mon Sep 17 00:00:00 2001 From: hedi bouattour Date: Tue, 4 Jul 2023 09:05:29 +0000 Subject: [PATCH] doc: add multinet to dev guide --- docs/developper_guide.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/developper_guide.md b/docs/developper_guide.md index 9e065ea1..8acaf40b 100644 --- a/docs/developper_guide.md +++ b/docs/developper_guide.md @@ -67,6 +67,26 @@ To add a redirection to host rule: export CALICOVPP_REDIRECT_PROTO="\"udp\"" export CALICOVPP_REDIRECT_PORT=53 export CALICOVPP_REDIRECT_IP="\"172.18.0.1\"" +```` + +To enable memif: +````bash +# --------------- memif ---------------- +export CALICOVPP_ENABLE_MEMIF=true +```` + +To run multinet: + +````bash +# --------------- multinet ---------------- +export CALICOVPP_ENABLE_MULTINET=true +export CALICOVPP_ENABLE_MEMIF=true +kubectl apply -f test/yaml/multinet/projectcalico.org_networks.yaml +kubectl apply -f test/yaml/multinet/whereabouts-daemonset-install.yaml +kubectl apply -f https://github.com/k8snetworkplumbingwg/multus-cni/raw/master/deployments/multus-daemonset-thick.yml +kubectl apply -f https://github.com/k8snetworkplumbingwg/whereabouts/raw/master/doc/crds/whereabouts.cni.cncf.io_ippools.yaml +kubectl apply -f https://github.com/k8snetworkplumbingwg/whereabouts/raw/master/doc/crds/whereabouts.cni.cncf.io_overlappingrangeipreservations.yaml + ```` To run with hugepages on: