sparse-intern-71089
09/12/2018, 10:29 PMcreamy-potato-29402
09/12/2018, 10:30 PMcreamy-potato-29402
09/12/2018, 10:31 PMkubectl
require you to embed the previous version of each API object inside the .metadata.annotations
. Instead of doing this, we just use a state file.creamy-potato-29402
09/12/2018, 10:32 PMcreamy-potato-29402
09/12/2018, 10:32 PMcreamy-potato-29402
09/12/2018, 10:33 PMpulumi refresh
creamy-potato-29402
09/12/2018, 10:34 PM.metadata.annotations
, but my counter-argument is that I think your deployments should be managed by your CI/CD system, which ideally is just shelling out to (e.g.) pulumicreamy-potato-29402
09/12/2018, 10:34 PMstraight-cartoon-74589
09/12/2018, 10:34 PMstraight-cartoon-74589
09/12/2018, 10:35 PMcreamy-potato-29402
09/12/2018, 10:35 PMstraight-cartoon-74589
09/12/2018, 10:35 PMpulumi refresh
at start of each build let me essentially ignore state altogethercreamy-potato-29402
09/12/2018, 10:36 PMcreamy-potato-29402
09/12/2018, 10:36 PMcreamy-potato-29402
09/12/2018, 10:37 PMcreamy-potato-29402
09/12/2018, 10:37 PMcreamy-potato-29402
09/12/2018, 10:38 PMcreamy-potato-29402
09/12/2018, 10:38 PMstraight-cartoon-74589
09/12/2018, 10:38 PMcreamy-potato-29402
09/12/2018, 10:38 PMcreamy-potato-29402
09/12/2018, 10:39 PMcreamy-potato-29402
09/12/2018, 10:39 PMstraight-cartoon-74589
09/12/2018, 10:40 PMcreamy-potato-29402
09/12/2018, 10:40 PMstraight-cartoon-74589
09/12/2018, 10:40 PMcreamy-potato-29402
09/12/2018, 10:40 PMcreamy-potato-29402
09/12/2018, 10:41 PMcreamy-potato-29402
09/12/2018, 10:41 PMcreamy-potato-29402
09/12/2018, 10:41 PMstraight-cartoon-74589
09/12/2018, 10:42 PMcreamy-potato-29402
09/12/2018, 10:42 PMcreamy-potato-29402
09/12/2018, 10:42 PMstraight-cartoon-74589
09/12/2018, 10:44 PMhelm template
+ custom yaml manifest glue solution altogether.creamy-potato-29402
09/12/2018, 10:45 PMcreamy-potato-29402
09/12/2018, 10:45 PMk8s.v2.helm.Chart
API is meant to replace.glamorous-printer-66548
09/13/2018, 12:07 AMcreamy-potato-29402
09/13/2018, 12:07 AMglamorous-printer-66548
09/13/2018, 12:10 AMcreamy-potato-29402
09/13/2018, 12:11 AMcreamy-potato-29402
09/13/2018, 12:11 AMglamorous-printer-66548
09/13/2018, 12:19 AMhelm upgrade jenkins stable/jenkins --install -f values.yaml
does the job, but you have to find that out first, why is there not a helm apply
or so?
Another thing I noticed yesterday: I wanted to preview rentered templates. In order to do so you can’t use --dry-run or some parameter to install / upgrade, but instead you first have to helm fetch
and then helm template
. And yes some of the yaml jinja2 templates in charts look very complex, although I fortunately never had to author any.creamy-potato-29402
09/13/2018, 12:20 AMcreamy-potato-29402
09/13/2018, 12:21 AMcreamy-potato-29402
09/13/2018, 12:21 AMcreamy-potato-29402
09/13/2018, 12:22 AMglamorous-printer-66548
09/13/2018, 12:22 AMcreamy-potato-29402
09/13/2018, 12:25 AMcreamy-potato-29402
09/13/2018, 12:25 AMhelm upgrade
is what it is because Kubernetes has `Deployment`screamy-potato-29402
09/13/2018, 12:25 AMcreamy-potato-29402
09/13/2018, 12:27 AMcreamy-potato-29402
09/13/2018, 12:27 AMglamorous-printer-66548
09/13/2018, 12:27 AMglamorous-printer-66548
09/13/2018, 12:28 AMhandsome-hairdresser-11407
09/13/2018, 2:16 PM