Difference between revisions of "Vm size"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | ||
− | locals { | + | * https://github.com/Azure/terraform-azurerm-aks/blob/main/examples/multiple_node_pools/main.tf |
− | nodes = { | + | |
+ | locals { | ||
+ | [[nodes]] = { | ||
for i in range(3) : "worker${i}" => { | for i in range(3) : "worker${i}" => { | ||
name = substr("worker${i}${random_id.prefix.hex}", 0, 8) | name = substr("worker${i}${random_id.prefix.hex}", 0, 8) | ||
− | vm_size = "Standard_D2s_v3" | + | vm_size = "[[Standard_D2s_v3]]" |
node_count = 1 | node_count = 1 | ||
vnet_subnet_id = azurerm_subnet.test.id | vnet_subnet_id = azurerm_subnet.test.id | ||
Line 12: | Line 14: | ||
} | } | ||
} | } | ||
− | } | + | } |
− | + | ||
+ | |||
+ | [[var.agents_size]] | ||
+ | |||
+ | [[node_pools]] | ||
+ | [[Standard_A1_v2]] | ||
+ | |||
+ | |||
+ | [[Terraform resource: azurerm kubernetes cluster]] | ||
+ | [[SkuNotAvailable]] | ||
{{tf aks}} | {{tf aks}} |
Latest revision as of 10:53, 16 July 2024
locals { nodes = { for i in range(3) : "worker${i}" => { name = substr("worker${i}${random_id.prefix.hex}", 0, 8) vm_size = "Standard_D2s_v3" node_count = 1 vnet_subnet_id = azurerm_subnet.test.id create_before_destroy = i % 2 == 0 } } }
var.agents_size
node_pools Standard_A1_v2
Terraform resource: azurerm kubernetes cluster
SkuNotAvailable
Terraform AKS, azurerm_resource_group, azurerm_kubernetes_cluster, azurerm_role_assignment, azurerm_virtual_network
, azurerm_dns_zone
Advertising: