millions-judge-24978
03/01/2019, 10:55 PMpulumi preview
has become incredibly slow as soon as a k8s.yaml.ConfigFile
resource is instantiated. Comment it out: quick. Uncomment: slow.
I have been using lots of these, and only just recently encountered this issue. They did not previously cause any slowness. Any ideas what could have changed or be causing this?+ └─ nirvana:k8s-external-dns external-dns create
+ └─ kubernetes:yaml:ConfigFile external-dns.yml create
and when the ConfigFile is expanded with its children:
+ └─ nirvana:k8s-external-dns external-dns create
+ └─ kubernetes:yaml:ConfigFile external-dns.yml create
+ ├─ kubernetes:core:ServiceAccount external-dns create
+ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> external-dns create
+ ├─ kubernetes:extensions:Deployment external-dns create
+ └─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRoleBinding|rbac.authorization.k8s.io:ClusterRoleBinding> external-dns-viewer create
important-carpenter-15282
03/01/2019, 10:58 PMcool-egg-852
03/01/2019, 11:02 PMmillions-judge-24978
03/01/2019, 11:04 PMcool-egg-852
03/01/2019, 11:05 PMmillions-judge-24978
03/01/2019, 11:05 PMcool-egg-852
03/01/2019, 11:07 PMmillions-judge-24978
03/01/2019, 11:09 PMConfigFile
, ConfigGroup
and (helm) `Chart`:
❯ time pulumi preview
...
Resources:
+ 129 to create
8 unchanged
Permalink: XXX
pulumi preview 7.83s user 1.29s system 110% cpu 8.265 total
cool-egg-852
03/01/2019, 11:14 PMResources:
~ 1 to update
34 unchanged
47.91 real 4.58 user 1.10 sys
millions-judge-24978
03/01/2019, 11:17 PMK8SProvider
to the resources via some fashion, or have a default that is accessible?cool-egg-852
03/01/2019, 11:18 PMnew k8s.yaml.ConfigFile('filename');
millions-judge-24978
03/01/2019, 11:19 PMKUBECONFIG=X kubectl
then it must be some other issuecool-egg-852
03/01/2019, 11:20 PMcolossal-beach-47527
03/01/2019, 11:32 PMcreamy-potato-29402
03/02/2019, 12:50 AMcool-egg-852
03/02/2019, 1:21 AMwhite-balloon-205
cool-egg-852
03/02/2019, 1:22 AMwhite-balloon-205