will simply take the currently managed resources and update the stack
b
bitter-tiger-55434
07/04/2020, 5:07 AM
Yes. I do the following steps
1. Init a new pulumi stack
2. Create a nginx deployment to k8s with replicas=1
3. Pulumi up
4. Edit the k8s cluster: change replicas=2 by kubectl edit
5. Pulumi refresh. It shows there is an update on nginx deployment.
1. When i try to use pulumi up(replica=1 in code), it shows there is no change. But if i modify the code, set replica=2, it shows there is an update..
bitter-tiger-55434
07/04/2020, 5:09 AM
I see there are two fields named 'input' in stack json file. What's the different? And the code will be compared with the second input field to get changes
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.