sparse-intern-71089
10/08/2019, 8:23 AMstocky-island-3676
10/08/2019, 8:45 AMkubectl edit deploy nginx-...
& change to image: nginx:1.16.1-alpine
stocky-island-3676
10/08/2019, 9:34 AMv1.2.0
thousands-angle-40305
10/15/2019, 3:19 PMfuture-barista-68134
10/15/2019, 3:22 PMstocky-island-3676
10/15/2019, 3:27 PMkube-prometheus
which has many K8s resources.stocky-island-3676
10/18/2019, 4:06 PMrefresh
stage (either pulumi refresh
or pulumi up --refresh
).
But I don’t see that pulumi up
doesn’t want to change the image back to what’s defined in the code, i.e. nginx:1.6.1
.stocky-island-3676
10/21/2019, 4:37 PM@microscopic-florist-22719 indicated that this is expected behavior with legacy diff because the kubectl scale command apparently doesn’t set theThe solution is to use the new Kubernetes provider optionannotation.<http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>
enableDryRun: true
(hint: there may be stability issues with it as mentioned in the Github issue).future-barista-68134
10/21/2019, 5:51 PMstocky-island-3676
10/26/2019, 10:38 AMenableDryRun
seems fine for now. Didn’t use it in bigger projects, yet. Currently working on other things.
Sorry for the late answer. Just realized that I don’t get any notification from threads. Best is you always @mention me. Then it’s sure I’ll receive a notification.