-
Notifications
You must be signed in to change notification settings - Fork 787
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #726 from AndyXiangLi/external-e2e-test
Integrate external e2e test in the testsuits
- Loading branch information
Showing
11 changed files
with
514 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Kubernetes tests | ||
|
||
This directory imports tests from kubernetes/kubernetes and enables: | ||
|
||
* External CSI tests, https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external | ||
* CSI migration tests | ||
|
||
# Prerequisites | ||
- kubernetes 1.17+ AWS cluster | ||
|
||
# Run | ||
* External CSI tests: `FOCUS=External.Storage`. | ||
* CSI migration tests: `FOCUS=[ebs-csi-migration]`. | ||
|
||
```sh | ||
go test -v -timeout 0 ./... -kubeconfig=$HOME/.kube/config -report-dir=$ARTIFACTS -ginkgo.focus="$FOCUS" -ginkgo.skip="\[Disruptive\]" -gce-zone=us-west-2a | ||
``` |
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,29 @@ | ||
# Manifest for Kubernetes external tests. | ||
# See https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external | ||
|
||
ShortName: ebs | ||
StorageClass: | ||
FromFile: storageclass.yaml | ||
SnapshotClass: | ||
FromFile: snapshotclass.yaml | ||
DriverInfo: | ||
Name: ebs.csi.aws.com | ||
SupportedSizeRange: | ||
Min: 1Gi | ||
Max: 16Ti | ||
SupportedFsType: | ||
xfs: {} | ||
ext4: {} | ||
SupportedMountOption: | ||
dirsync: {} | ||
TopologyKeys: ["topology.ebs.csi.aws.com/zone"] | ||
Capabilities: | ||
persistence: true | ||
fsGroup: true | ||
block: true | ||
exec: true | ||
volumeLimits: false | ||
controllerExpansion: true | ||
nodeExpansion: true | ||
snapshotDataSource: true | ||
multipods: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SnapshotClass for Kubernetes external tests. | ||
# See https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external | ||
|
||
apiVersion: snapshot.storage.k8s.io/v1beta1 | ||
kind: VolumeSnapshotClass | ||
metadata: | ||
name: csi-aws-vsc | ||
driver: ebs.csi.aws.com | ||
deletionPolicy: Delete |
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,9 @@ | ||
# StorageClass for Kubernetes external tests. | ||
# See https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external | ||
|
||
kind: StorageClass | ||
apiVersion: storage.k8s.io/v1 | ||
metadata: | ||
name: ebs.csi.aws.com | ||
provisioner: ebs.csi.aws.com | ||
volumeBindingMode: WaitForFirstConsumer |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
vendor/k8s.io/kubernetes/test/e2e/storage/external/README.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.