This scripts installs MetalLB into OCP, for test environment.
- Succeed to deploy OCP by dev-script
- IPv4 is enabled (Currently we targets IPv4. v4v6 case, we only support IPv4 for now)
Make sure that OCP is deployed by dev-script
To configure MetalLB
$ cd <dev-script>/metallb
$ make config_metallb
$ export KUBECONIFG=<dev-script>/ocp/<cluster name>/auth/kubeconfig
$ oc get pod -n metallb-system
The test suite will run the appropriate tests against the cluster.
To run the E2E tests
$ cd <dev-script>/metallb
$ make run_e2e