https://pulumi.com logo
#python
Title
# python
b

better-actor-92669

02/15/2021, 10:30 AM
Hello! I've installed this specific Helm chart https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack using Pulumi.
Copy code
SDK - python
Kubernetes - GKE
pulumi v2.20.0
pulumi-kubernetes==2.8.0
Pulumi installs 146 resources from that chart. After the installation every
pulumi preview
takes around 60-70 seconds. With the same resources, but without a helm chart it was around 10-13 seconds
Copy code
gtime pulumi preview

61.36user 6.89system 1:05.35elapsed 104%CPU (0avgtext+0avgdata 389900maxresident)k
0inputs+0outputs (416major+501237minor)pagefaults 0swaps

gtime pulumi preview

13.97user 3.60system 0:16.07elapsed 109%CPU (0avgtext+0avgdata 132092maxresident)k
0inputs+0outputs (379major+404976minor)pagefaults 0swaps
I tried to analyse the debug log with max verbosity, but obviously I lack knowledge to identify what's wrong. Has anyone experienced performance degradation after installing helm charts? I need help identifying what's wrong, because now it is quite frustrating to wait for a while during each preview + update.
In addition, CRDs from that chart are not installed first, so dependant resources fail.