enough-air-9670
09/24/2021, 12:07 PMpulumi up
is just hanging indefinitely when trying to create k8s.yaml.ConfigFile
for some CRD manifests in a directory.
k8s.yaml.ConfigGroup
is the same. Commenting out the block avoids the hang and works fine.
They aren't mega CRDs, the biggest is ~550 lines.
The code in question...
// Traefik CRDs
const crdDirectory = path.resolve(__dirname, "./crds");
fs.readdirSync(crdDirectory).forEach((filename) => {
new k8s.yaml.ConfigFile(
`crd-${filename}`,
{
file: `${crdDirectory}/${filename}`,
},
{
provider: args.provider,
parent: this,
}
);
});
Versions:
"@pulumi/kubernetes": "^3.7.2",
"@pulumi/pulumi": "^3.13.0",
I have another project doing the same thing that I haven't touched in a while, using @pulumi/pulumi v3.0.0 and @pulumi/kubernetes v3.5.0, which was working fine. Downgrading to those same versions for this still hangs unfortunately.sparse-park-68967
09/24/2021, 9:26 PMpulumi -d --logflow --logtostderr -v=9 up 2>&1 | tee /tmp/logs
should dump verbose logs. To the extent you are willing to share those, feel free to open an issue and either attach the logs there or if you are concerned about leaking anything, we can arrange to look at the logs privately (email/screen share)enough-air-9670
09/25/2021, 11:31 AM