Skip to content

Commit

Permalink
e2e: spread CSI controller plugins across multiple DCs (#8629)
Browse files Browse the repository at this point in the history
Controller plugins that land on the same node will collide over their CSI
`mount_dir`, so give them enough room in our tests that they don't land on the
same host.

Also, version bump the EBS node plugins to match the controllers.
  • Loading branch information
tgross authored Aug 10, 2020
1 parent b515fe8 commit 297bef8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion e2e/csi/input/plugin-aws-ebs-controller.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://github.com/kubernetes-sigs/aws-ebs-csi-driver/tree/master/deploy/kubernetes

job "plugin-aws-ebs-controller" {
datacenters = ["dc1"]
datacenters = ["dc1", "dc2"]

constraint {
attribute = "${attr.kernel.name}"
Expand Down
4 changes: 2 additions & 2 deletions e2e/csi/input/plugin-aws-ebs-nodes.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://github.com/kubernetes-sigs/aws-ebs-csi-driver/tree/master/deploy/kubernetes

job "plugin-aws-ebs-nodes" {
datacenters = ["dc1"]
datacenters = ["dc1", "dc2"]

constraint {
attribute = "${attr.kernel.name}"
Expand All @@ -19,7 +19,7 @@ job "plugin-aws-ebs-nodes" {
driver = "docker"

config {
image = "amazon/aws-ebs-csi-driver:v0.5.0"
image = "amazon/aws-ebs-csi-driver:v0.6.0"

args = [
"node",
Expand Down
2 changes: 1 addition & 1 deletion e2e/csi/input/use-ebs-volume.nomad
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# a job that mounts an EBS volume and writes its job ID as a file
job "use-ebs-volume" {
datacenters = ["dc1"]
datacenters = ["dc1", "dc2"]

constraint {
attribute = "${attr.kernel.name}"
Expand Down

0 comments on commit 297bef8

Please sign in to comment.