-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to detect state mismatch after kubectl scale
+ refresh
#694
Comments
We're not going to fix this for Q3, or at all until we move to the dry-run stuff, right? If so we should remove both the Q3 and P1 tags. |
@lblackstone I've stumbled upon this issue while Is it right that both the legacy diff & the dry-run diff don't compare to the stack's state but to Kubernetes' |
@Dominik-K The legacy diff behavior is based on Pulumi's checkpoint state of the resource. If you run a refresh, Pulumi will sync the The dry-run diff behavior fixes this issue, but is not yet a stable feature. Once this feature is ready, it will become the new default. |
This is fixed with the |
Here's the repro:
pulumi up
with the following:kubectl scale deployment --replicas=5 scale-test
pulumi refresh
(should succeed and update the replica state to 5)pulumi up
again (no changes detected)I expected to detect the mismatch between the current state (5 replicas) and the declared state (1 replica).
The text was updated successfully, but these errors were encountered: