mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-06 13:11:12 +02:00
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:
parent
d03dc7a8af
commit
af0cc70e37
@ -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"
|
||||
},
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user