I’m just getting started with the kubernetes provi...
# kubernetes
f
I’m just getting started with the kubernetes provider, and I’m noticing that helm chart changes have really long deploy times, like 30+ minutes. Specifically, I’m deploying (and tweaking the values of) the
kube-prometheus-stack
chart. Is there anything I can do to make it work faster? its even hitting timeouts of things like authentication tokens
h
is this with any resources in particular?
f
I couldn’t really tell. I ended up switching to the Release resource as I saw there was also pre-install hooks, and everything is working a lot better and faster. I think I’ve lost a solid day or two at least on setting up really basic charts due to the Chart resource not handle the hooks (and because that fact that it isn’t really documented)
👀 1
h
did you not get “This resource contains Helm hooks that are not currently supported by Pulumi” warnings?
f
I didn’t, but thats probably my fault for using automation API to run pulumi as my code around it probably swallowed the warning. If it had been more clearly broken (i.e. it failed) I would have dug more, the way it was limping along tripped me up. Is a warning really good enough when a significant helm feature is being ignored?
Looking again, diagnostic warnings and errors were already in the output, and I didn’t notice one regarding the install hooks, and I can’t find one loooking back through the terminal scrollback I have. I can find e.g.
Copy code
warning: Helm uninstall returned information: "These resources were kept due to the resource policy:\n[CustomResourceDefinition] <http://certificaterequests.cert-manager.io|certificaterequests.cert-manager.io>\n[CustomResourceDefinition] <http://certificates.cert-manager.io|certificates.cert-manager.io>\n[CustomResourceDefinition] <http://challenges.acme.cert-manager.io|challenges.acme.cert-manager.io>\n[CustomResourceDefinition] <http://clusterissuers.cert-manager.io|clusterissuers.cert-manager.io>\n[CustomResourceDefinition] <http://issuers.cert-manager.io|issuers.cert-manager.io>\n[CustomResourceDefinition] <http://orders.acme.cert-manager.io|orders.acme.cert-manager.io>\n"
Scrollback might not be going far enough though, the Chart resource was generating huge diffs on every operation
h
ah yeah that makes sense if you were using automation api. agree warnings aren’t the best, but an error would break existing programs and we try to prioritize backwards compatibility above all else. typically changes like that are reserved for new major versions, so we can think about doing this in v5.
f
Helm Chart v4 only came out 2 months ago 😕