I have problem with `destroy` of my kubernetes res...
# kubernetes
w
I have problem with
destroy
of my kubernetes resources. I'm using the default config which will use the credentials and it works fine to create the differente resources; deployment, secret, service and ingress. When I run
pulumi destroy
it can't remove any of the resources. The error message isn't the best either:
error: unknown
Doing some verbose logging doesn't show much more info:
Copy code
I1021 12:15:44.274429   85020 rpc.go:72] Marshaling property for RPC[Provider[kubernetes, 0xc0017b47e0].Delete(urn:pulumi:dev::nextjstemplate.deploy::pkg:elkjop:application$kubernetes:<http://networking.k8s.io/v1beta1:Ingress::nextjstemplate-external-ingress,iac-demoenv/nextjstemplate.external|networking.k8s.io/v1beta1:Ingress::nextjstemplate-external-ingress,iac-demoenv/nextjstemplate.external>)]: loadBalancer={map[]}
I1021 12:15:44.306508   85020 provider_plugin.go:1523] provider received rpc error `Unknown`: `unknown`
I1021 12:15:44.306573   85020 provider_plugin.go:1526] rpc error kind `Unknown` may not be recoverable
I1021 12:15:44.306602   85020 provider_plugin.go:1067] Provider[kubernetes, 0xc0017b47e0].Delete(urn:pulumi:dev::nextjstemplate.deploy::pkg:elkjop:application$kubernetes:<http://networking.k8s.io/v1beta1:Ingress::nextjstemplate-external-ingress,iac-demoenv/nextjstemplate.external|networking.k8s.io/v1beta1:Ingress::nextjstemplate-external-ingress,iac-demoenv/nextjstemplate.external>) failed: unknown
I1021 12:15:44.306646   85020 eventsink.go:86] eventSink::Error(<{%reset%}>unknown<{%reset%}>)
I1021 12:15:44.307571   85020 snapshot.go:390] SnapshotManager: deleteSnapshotMutation.End(..., false)
I1021 12:15:44.507443   85020 snapshot.go:536] SnapshotManager.markOperationComplete(urn:pulumi:dev::nextjstemplate.deploy::kubernetes:core/v1:Secret::acr-auth)
I1021 12:15:44.507504   85020 step_executor.go:327] StepExecutor worker(3): applying step delete on urn:pulumi:dev::nextjstemplate.deploy::pkg:elkjop:application$kubernetes:apps/v1:Deployment::nextjstemplate-deployment (preview false)
I1021 12:15:44.507607   85020 registry.go:148] GetProvider(urn:pulumi:dev::nextjstemplate.deploy::pulumi:providers:kubernetes::default_3_8_1::7bf0f1f3-3288-4c85-8cef-e04d2e927b78)
I1021 12:15:44.507690   85020 provider_plugin.go:1039] Provider[kubernetes, 0xc0017b47e0].Delete(urn:pulumi:dev::nextjstemplate.deploy::pkg:elkjop:application$kubernetes:apps/v1:Deployment::nextjstemplate-deployment,iac-demoenv/nextjstemplate) executing (#props=7)
I1021 12:15:44.507755   85020 rpc.go:72] Marshaling property for RPC[Provider[kubernetes, 0xc0017b47e0].Delete(urn:pulumi:dev::nextjstemplate.deploy::pkg:elkjop:application$kubernetes:apps/v1:Deployment::nextjstemplate-deployment,iac-demoenv/nextjstemplate)]: __initialApiVersion={apps/v1}
I1021 12:15:44.507831   85020 rpc.go:72] Marshaling property for RPC[Provider[kubernetes, 0xc0017b47e0].Delete(urn:pulumi:dev::nextjstemplate.deploy::pkg:elkjop:application$kubernetes:apps/v1:Deployment::nextjstemplate-deployment,iac-demoenv/nextjstemplate)]: __inputs={map[apiVersion:{apps/v1} kind:{Deployment} metadata:{map[annotations:{map[<http://pulumi.com/timeoutSeconds:{120}|pulumi.com/timeoutSeconds:{120}>]} labels:{map[<http://app.kubernetes.io/managed-by:{pulumi}|app.kubernetes.io/managed-by:{pulumi}>]} name:{nextjstemplate} namespace:{iac-demoenv}]} spec:{map[replicas:{2} selector:{map[matchLabels:{map[app:{nextjstemplate}]}]} template:{map[metadata:{map[labels:{map[app:{nextjstemplate}]}]} spec:{map[containers:{[{map[image:{<http://elkdscontainerregistry.azurecr.io/nextjstemplate:66e54ac|elkdscontainerregistry.azurecr.io/nextjstemplate:66e54ac>} name:{nextjstemplate} ports:{[{map[containerPort:{3000} name:{http}]}]} resources:{map[limits:{map[cpu:{700m} memory:{2000Mi}]} requests:{map[cpu:{700m} memory:{1000Mi}]}]}]}]} imagePullSecrets:{[{map[name:{acr-auth}]}]} priorityClassName:{itds-moderate}]}]}]}]}
Any idea what might be wrong?