-
Notifications
You must be signed in to change notification settings - Fork 500
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
We deploy our clusters with a default node_pool, using:
agents_pool_name = "default"
agents_pool_max_surge = try(each.value.max_surge, "10%")
agents_availability_zones = ["1", "2", "3"]
agents_type = "VirtualMachineScaleSets"
agents_size = try(each.value.agents_size, "Standard_D2s_v3")
temporary_name_for_rotation = "tmp"We're replacing agents_size with the ARM equivalent, and we can see the "tmp" node_pool being created, but then all the default nodes are drained at once, without respecting PDB, essentially taking down every service
1s Normal Drain node/aks-default-15731243-vmss000009 Draining node: aks-default-15731243-vmss000009
2s Normal Drain node/aks-default-15731243-vmss00000x Draining node: aks-default-15731243-vmss00000x
2s Normal Drain node/aks-default-15731243-vmss00000e Draining node: aks-default-15731243-vmss00000e
Are we doing it the wrong way? how can we change the agents size without such a drastic draining?
New or Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo