# README
How to execute E2E?
-
Create a VPC Cluster
-
Export the KUBECONFIG In kube config file use abosulte path for
certificate-authority
,client-certificate
andclient-key
-
Deploy the Driver (with SC)
-
Export enviornment variables
# Mandatory export GO111MODULE=on export GOPATH=<GOPATH> export E2E_TEST_RESULT=<absolute-path to a file where the results should be redirected> export TEST_ENV=<stage/prod> export IC_REGION=<us-south> export IC_API_KEY_PROD=<prod API key> | export IC_API_KEY_STAG=<stage API key> export icrImage=<Give the image which will be used by pods> # Optional export E2E_POD_COUNT="1" export E2E_PVC_COUNT="1"
-
Test all SC with deployment
ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[sc\] \[with-deploy\]" ./tests/e2e
-
Test all SC with pod
ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[sc\] \[with-pods\]" ./tests/e2e
-
Test 5 IOPS SC with statefulset(with 2 replicas)
ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[sc\] \[with-statefulset\]" ./tests/e2e
-
Test multiple volumes with deployment
export E2E_PVC_COUNT="2" ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[exec-cvmp\] \[deploy\]" ./tests/e2e
-
Test multiple volumes with multiple pods. In following example, two PVC will be created and four pods will be created in sequence using same two PVCs
export E2E_PVC_COUNT="2" export E2E_POD_COUNT="4" ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[exec-cvmp\] \[pods-seq\]" ./tests/e2e
-
Test concurrent pods deployment with two PVC each
export E2E_PVC_COUNT="2"
ginkgo -v -nodes=5 --focus="\[ics-e2e\] \[exec-mvmp\] \[pods-conc\]" ./tests/e2e
- Run all SC test in parallel
ginkgo -v -nodes=4 --focus="\[ics-e2e\] \[sc\]" ./tests/e2e
- Test node drain scenario
ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[node-drain\] \[with-pods\]" ./tests/e2e
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author