Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable AKS cluster recreation on agent profile change (#2774)
Quick fix for #1808 Remove all manually curated agentPoolProfile properties from the forceNewMap as we're currently also forcing recreation when adding or removing agent pools. This method of replacing agent pools is documented here: https://learn.microsoft.com/en-us/azure/aks/use-system-pools?tabs=azure-cli#system-and-user-node-pools If the current behaviour is still wanted (to replace the whole cluster instead of updating the agent pools in place) then the replaceOnChanges resource option can be used: https://www.pulumi.com/docs/concepts/options/replaceonchanges/ This was originally introduced by #1210 to fix #959 but it didn't take into account rotating agent pools within the existing cluster.
- Loading branch information