Skip to content

Commit a075136

Browse files
lonegunmanbskolobov
authored andcommitted
add notice for Azure#357
1 parent 7d36e14 commit a075136

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

NoticeOnUpgradeTov7.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@ In v6.0, `default_node_pool.linux_os_config` block won't be added to `azurerm_ku
3030
## Remove unused net_profile_docker_bridge_cidr
3131

3232
`var.net_profile_docker_bridge_cidr` has been [deprecated](https://github.com/hashicorp/terraform-provider-azurerm/issues/18119) and is not used in the module anymore and has been removed.
33+
34+
## Add `create_before_destroy=true` to node pools #357
35+
36+
Now `azurerm_kubernetes_cluster_node_pool.node_pool` resource has `create_before_destroy=true` to avoid downtime when upgrading node pools. Users must be aware that there would be a "random" suffix added into pool's name, this suffix's length is `4`, so your previous node pool's name `nodepool1` would be `nodepool1xxxx`. This suffix is calculated from node pool's config, the same configuration would lead to the same suffix. You might need to shorten your node pool's name because of this new added suffix.
37+
38+
To enable this feature, we've also added new `null_resource.pool_name_keeper` to track node pool's name in case you've changed the name.

0 commit comments

Comments
 (0)