From 297bef8295fe9f25ae69e9ca8426c9b34fcb340b Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Mon, 10 Aug 2020 16:41:39 -0400 Subject: [PATCH] e2e: spread CSI controller plugins across multiple DCs (#8629) 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. --- e2e/csi/input/plugin-aws-ebs-controller.nomad | 2 +- e2e/csi/input/plugin-aws-ebs-nodes.nomad | 4 ++-- e2e/csi/input/use-ebs-volume.nomad | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/csi/input/plugin-aws-ebs-controller.nomad b/e2e/csi/input/plugin-aws-ebs-controller.nomad index f054fd7d37f..4ea91cb24d5 100644 --- a/e2e/csi/input/plugin-aws-ebs-controller.nomad +++ b/e2e/csi/input/plugin-aws-ebs-controller.nomad @@ -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}" diff --git a/e2e/csi/input/plugin-aws-ebs-nodes.nomad b/e2e/csi/input/plugin-aws-ebs-nodes.nomad index fe87f6636fb..abfd4e7ab35 100644 --- a/e2e/csi/input/plugin-aws-ebs-nodes.nomad +++ b/e2e/csi/input/plugin-aws-ebs-nodes.nomad @@ -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}" @@ -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", diff --git a/e2e/csi/input/use-ebs-volume.nomad b/e2e/csi/input/use-ebs-volume.nomad index 982e6ccd025..aee56718542 100644 --- a/e2e/csi/input/use-ebs-volume.nomad +++ b/e2e/csi/input/use-ebs-volume.nomad @@ -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}"