multus-cni/e2e
dougbtv 4104fea90d Subdirectory CNI chain loading e2e tests
Adds a test for plain subdirectory chaining and also using passthru CNI with auxiliaryCNIChainName
2025-04-15 15:53:18 -04:00
..
templates Subdirectory CNI chain loading e2e tests 2025-04-15 15:53:18 -04:00
generate_yamls.sh
get_tools.sh The e2e kind config should use api/beta for the runtimeConfig 2025-03-20 11:21:03 -04:00
README.md The e2e kind config should use api/beta for the runtimeConfig 2025-03-20 11:21:03 -04:00
sed_generate_yaml.sh The e2e kind config should use api/beta for the runtimeConfig 2025-03-20 11:21:03 -04:00
setup_cluster.sh The e2e kind config should use api/beta for the runtimeConfig 2025-03-20 11:21:03 -04:00
simple-static-pod.yml
static-pod-nad.yml
teardown.sh Update kind e2e 2024-02-16 02:30:17 +09:00
test-default-route1.sh
test-dra-integration.sh Update DRA integration info and e2e test 2024-07-24 09:34:53 +02:00
test-simple-macvlan1.sh
test-simple-pod.sh
test-static-pod.sh
test-subdirectory-chaining-passthru.sh Subdirectory CNI chain loading e2e tests 2025-04-15 15:53:18 -04:00
test-subdirectory-chaining.sh Subdirectory CNI chain loading e2e tests 2025-04-15 15:53:18 -04:00

Multus e2e test with kind

Prerequisite

To run the e2e test, you need the following components:

  • curl
  • jinjanator (optional)
  • docker

How to test e2e

$ git clone https://github.com/k8snetworkplumbingwg/multus-cni.git
$ cd multus-cni/e2e
$ ./get_tools.sh

If you have jinjanator you can generate the YAML with:

$ ./generate_yamls.sh

Alternatively, if you have trouble with it, use the sed script.

$ ./e2e/sed_generate_yaml.sh

Then, setup the cluster

$ ./setup_cluster.sh
$ ./test-simple-macvlan1.sh

How to teardown cluster

$ ./teardown.sh