-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update run-e2e-test script to setup cluster
- Loading branch information
Cheng Pan
committed
Jan 25, 2019
1 parent
523ed3d
commit 6f6fbd5
Showing
6 changed files
with
152 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
additionalPolicies: | ||
node: | | ||
[ | ||
{ | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:AttachVolume", | ||
"ec2:CreateSnapshot", | ||
"ec2:CreateTags", | ||
"ec2:CreateVolume", | ||
"ec2:DeleteSnapshot", | ||
"ec2:DeleteTags", | ||
"ec2:DeleteVolume", | ||
"ec2:DescribeInstances", | ||
"ec2:DescribeSnapshots", | ||
"ec2:DescribeTags", | ||
"ec2:DescribeVolumes", | ||
"ec2:DetachVolume" | ||
], | ||
"Resource": "*" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
kubeAPIServer: | ||
featureGates: | ||
CSIDriverRegistry: "true" | ||
CSINodeInfo: "true" | ||
kubelet: | ||
featureGates: | ||
CSIDriverRegistry: "true" | ||
CSINodeInfo: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## E2E Testing | ||
E2E test verifies the funcitonality of EBS CSI driver in the context of Kubernetes. It exercises driver feature e2e including static provisioning, dynamic provisioning, volume scheduling, mount options, etc. | ||
|
||
### Requirements | ||
1. AWS credential is [configured](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html) | ||
1. AWS CLI v1.16+ | ||
1. Kubectl v1.13+ | ||
1. Docker CLI v18.09+ | ||
1. curl | ||
1. sed | ||
1. Golang 1.11+ | ||
|
||
### Notes | ||
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. | ||
|
||
|