Skip to content

Commit

Permalink
Merge pull request #337 from leakingtapan/nvme
Browse files Browse the repository at this point in the history
Running multi-az e2e test using Nitro instance
Cheng Pan authored Aug 14, 2019
2 parents 8d8dc6a + 58bb4d3 commit 3bdb76d
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ test-e2e-single-az:

.PHONY: test-e2e-multi-az
test-e2e-multi-az:
AWS_REGION=us-west-2 AWS_AVAILABILITY_ZONES=us-west-2a,us-west-2b,us-west-2c GINKGO_FOCUS="\[ebs-csi-e2e\] \[multi-az\]" ./hack/run-e2e-test
AWS_REGION=us-west-2 AWS_AVAILABILITY_ZONES=us-west-2a,us-west-2b,us-west-2c INSTANCE_TYPE=c5.large GINKGO_FOCUS="\[ebs-csi-e2e\] \[multi-az\]" ./hack/run-e2e-test

.PHONY: image-release
image-release:
2 changes: 2 additions & 0 deletions hack/run-e2e-test
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ ZONES=${AWS_AVAILABILITY_ZONES-us-east-1a,us-east-1b,us-east-1c}
FOCUS=${GINKGO_FOCUS-"[ebs-csi-e2e]"}
NODES=${GINKGO_NODES:-32}
K8S_VERSION=${K8S_VERSION-1.14.0}
INSTANCE_TYPE=${INSTANCE_TYPE-c4.large}

source $(dirname "${BASH_SOURCE}")/utils/helm.sh

@@ -54,6 +55,7 @@ ssh-keygen -P csi-e2e -f $SSH_KEY_PATH
$KOPS_PATH create cluster --state $KOPS_STATE_FILE \
--zones $ZONES \
--node-count=3 \
--node-size=$INSTANCE_TYPE \
--kubernetes-version=$K8S_VERSION \
--ssh-public-key=$SSH_KEY_PATH.pub \
$CLUSTER_NAME.k8s.local

0 comments on commit 3bdb76d

Please sign in to comment.