How does drift/overlap in changes outside of Pulumi get resolved when apply updates and refreshing? #8874
-
Trying to figure out the behavior with an update on pod annotations here and a conflict that I think was caused due to a manual edit I wasn't aware of. Not sure if it's a red herring though.
Should it fix it? And last caveat:
Trying to make sure I wrap my head around the way the state file, refresh, drift work so I can communicate this a bit better to team. Possibly Related |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
This may need to be documented better, but I think this is expected - changes to a resource made outside of Pulumi cause it not to be tracked. IIRC, the granularity here is a specific key/value. If I change "replicas: 1" to "replicas: 2" in a deployment, I believe that only the replicas field becomes untracked by Pulumi. @viveklak is that your understanding of the Kubernetes provider? |
Beta Was this translation helpful? Give feedback.
-
Can you try your use-case with https://www.pulumi.com/registry/packages/kubernetes/api-docs/provider/#enabledryrun_nodejs enabled on the provider? Part of this is related to a reliance on |
Beta Was this translation helpful? Give feedback.
-
Note that GitHub Discussions doesn't let us mark a thread response as an answer, so we're marking the top of the thread that contains the answer 😄 |
Beta Was this translation helpful? Give feedback.
This may need to be documented better, but I think this is expected - changes to a resource made outside of Pulumi cause it not to be tracked. IIRC, the granularity here is a specific key/value. If I change "replicas: 1" to "replicas: 2" in a deployment, I believe that only the replicas field becomes untracked by Pulumi.
@viveklak is that your understanding of the Kubernetes provider?