Skip to content

Commit

Permalink
Use smaller instances for AWS E2E tests
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
  • Loading branch information
xmudrii committed Oct 21, 2022
1 parent 870cc47 commit 5e94ea1
Showing 1 changed file with 111 additions and 0 deletions.
111 changes: 111 additions & 0 deletions test/e2e/tests_definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ var (
vars: []string{
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.small",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -58,6 +66,14 @@ var (
vars: []string{
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.micro",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -76,6 +92,14 @@ var (
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
"os=centos",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.small",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -94,6 +118,14 @@ var (
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
"os=centos",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.micro",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -113,6 +145,14 @@ var (
"subnets_cidr=27",
"os=rhel",
"bastion_type=t3.micro",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=50",
"worker_type=t3a.small",
"worker_volume_size=50",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -132,6 +172,13 @@ var (
"subnets_cidr=27",
"os=rhel",
"bastion_type=t3.micro",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=50",
"worker_type=t3a.micro",
"worker_volume_size=50",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -150,6 +197,14 @@ var (
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
"os=rockylinux",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.small",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -168,6 +223,14 @@ var (
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
"os=rockylinux",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.micro",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -186,6 +249,14 @@ var (
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
"os=flatcar",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.small",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -204,6 +275,14 @@ var (
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
"os=flatcar",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.micro",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -225,6 +304,14 @@ var (
"ssh_username=core",
"bastion_user=core",
"worker_deploy_ssh_key=false",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.small",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -246,6 +333,14 @@ var (
"ssh_username=core",
"bastion_user=core",
"worker_deploy_ssh_key=false",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.micro",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -264,6 +359,14 @@ var (
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
"os=amzn",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.small",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand All @@ -282,6 +385,14 @@ var (
"disable_kubeapi_loadbalancer=true",
"subnets_cidr=27",
"os=amzn",
// Use smaller instances in Ireland (the cheapest EU region)
"aws_region=eu-west-1",
"control_plane_type=t3a.small",
"control_plane_volume_size=25",
"worker_type=t3a.micro",
"worker_volume_size=25",
"bastion_type=t3a.nano",
"initial_machinedeployment_spotinstances_max_price=0.0204",
},
},
},
Expand Down

0 comments on commit 5e94ea1

Please sign in to comment.