scenarios

package
v0.0.0-...-8391792 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

e2e tests

These e2e tests validate the use cases as described in this Multicluster NetworkPolicy Proposal.

Each test corresponds to each use case from the above mentioned proposal.

To run these e2e tests, follow the steps as described here.

There are two type of tests, dataplane and controlplane. Dataplane tests check for connectivity between pods after network policies are created. Controlplane tests check for IP of target pods in Coastguard managed NetworkPolicies, on the cluster where the network policy is created, that instead of podSelectors use ipBlocks to reference remote pods.

For controlplane tests, only listener pods are created everywhere which will wait indefinitely until they are killed (as the test finishes) and for dataplane tests, both listener + connector pods are created that will both exit once the tests are finished and the network policies created by coastguard will also be deleted.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL