sparse-intern-71089
03/15/2021, 2:21 AMwhite-balloon-205
pulumi state delete --disable-integrity-checking
?straight-cartoon-24485
03/15/2021, 3:48 AMerror: the current deployment has 2 resource(s) with pending operations:
* urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::ingress, interrupted while creating
* urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::pulumi, interrupted while creating
$ pulumi state delete --disable-integrity-checking urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::ingress
warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::ingress" exists in the current state
tried also
$ pulumi stack export | pulumi stack import
error: 2 errors occurred:
1) state file contains errors: child resource urn:pulumi:omega::haze::kubernetes:core/v1:Namespace$kubernetes:<http://helm.sh/v3:Chart::in|helm.sh/v3:Chart::in> refers to missing parent urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::ingress
2) importing this file could be dangerous; rerun with --force to proceed anyway
how can I wipe everything and start over? 🙂
(I already microk8s reset
'ed)straight-cartoon-24485
03/15/2021, 3:51 AM--force
on a freshly restored microk8s 1-node cluster with zero resources
pulumi stack rm
This will permanently remove the 'omega' stack!
Please confirm that this is what you'd like to do by typing ("omega"): omega
error: 'omega' still has resources; removal rejected; pass --force to override
white-balloon-205
pulumi state delete
can behave reliably even in face of a corrupted checkpoint file, as this is a primary tool for fixing things up if this ever does happen.
If you are still stuck here - could you summarize the state you are in - and we can likely provide some guidance on steps to get back into a good state.straight-cartoon-24485
03/15/2021, 5:18 AMkubernetes:<http://admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration|admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration> (in-ingress-nginx-admission):
error: resource in-ingress-nginx-admission was not successfully created by the Kubernetes API server : <http://validatingwebhookconfigurations.admissionregistration.k8s.io|validatingwebhookconfigurations.admissionregistration.k8s.io> "in-ingress-nginx-admission" already exists
white-balloon-205