E2E test verifies the functionality of EBS CSI driver in the context of Kubernetes. It exercises driver feature e2e including static provisioning, dynamic provisioning, volume scheduling, mount options, etc.
- AWS credential is configured
- AWS CLI v1.16+
- Kubectl v1.13+
- Docker CLI v18.09+
- curl
- sed
- Golang 1.11+
- Make sure you have a cluster up with ebs csi driver deployed
- Current directory is
/aws-ebs-csi-driver/tests/e2e
- Run
'ginkgo run --focus='should create multiple PV objects, bind to PVCs and attach all to a single pod'
Some tests marked with [env]
require specific environmental variables to be set, if not set these tests will be skipped.
export AWS_AVAILABILITY_ZONES="us-west-2a,us-west-2b"
Replacing us-west-2a,us-west-2b
with the AZ(s) where your Kubernetes worker nodes are located.
By default make test-e2e-
targets will run 32 tests concurrently, set GINKGO_NODES
to change the parallelism.