https://pulumi.com logo
Title
l

limited-rainbow-51650

04/28/2020, 4:12 PM
Anyone an idea why a bump in AKS version leads to a changed
kubeconfig
output?
I use this
kubeconfig
in a
k8s.Provider
created in the code. This provider is used for a number of downstream resources. The change in
kubeconfig
output leads to the provider being `replace`d, which leads to all these resources being replaced…
b

broad-dog-22463

04/28/2020, 11:16 PM
@gorgeous-egg-16927?
g

gorgeous-egg-16927

04/29/2020, 3:30 PM
Without knowing the details, I’d guess that this is just an overly conservative preview. If the
kubeconfig
changes and includes a computed value, the preview can sometimes not determine if the cluster has changed, which would require the resources to be replaced. A workaround is to update the cluster separately from the resources deployed to it so that the
kubeconfig
is known during preview.