test: update e2e-aws to use worker groups

This PR updates the e2e-aws flow to use worker groups and an updated control plane variable setup.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
This commit is contained in:
Spencer Smith 2023-08-23 12:28:19 -04:00
parent d03dc7a8af
commit af0cc70e37
No known key found for this signature in database
GPG Key ID: 036C4E711644C223

View File

@ -1,16 +1,10 @@
{
"cluster_name": .cluster_name,
"num_control_planes": 3,
"num_workers": (if .worker_group == "nvidia" then 0 else 3 end),
"ami_id": .ami_id,
"ccm": true,
"kubernetes_version": .kubernetes_version,
"instance_type_control_plane": "t3.large",
"instance_type_worker": "t3.large",
"extra_tags": {
"Name": .cluster_name,
"Project": "talos-e2e-ci",
"Environment": "ci"
"control_plane": {
"ami_id": .ami_id,
"instance_type": "t3.large"
},
"worker_groups": (if .worker_group == "nvidia" then [
{
@ -24,5 +18,18 @@
"Type": "nvidia-t4"
}
}
] else [] end)
] else [
{
"name": "default",
"num_instances": 3,
"ami_id": .ami_id,
"instance_type": "t3.large"
}
] end),
"extra_tags": {
"Cluster Name": .cluster_name,
"Project": "talos-e2e-ci",
"Environment": "ci"
},
}