for example, I've deleted the kubernetes cluster t...
# python
l
for example, I've deleted the kubernetes cluster that was used by stack (I have 2 "phase" stack. first phase installs kubernetes, then I can run second phase to create application copies inside kubernetes), but the application stack is not aware of that and when it tries to do the deletion it just throws:
Copy code
> pulumi destroy
Previewing destroy (feature-server-deployment):

     Type                               Name                                           Plan
 -   pulumi:pulumi:Stack                azure-py-kubernetes-feature-server-deployment  delete
 -   ├─ kubernetes:core:Secret          storageacct                                    delete
 -   ├─ kubernetes:core:Namespace       featureserverdeployment                        delete
 -   ├─ pulumi:providers:kubernetes     application_provider                           delete
 -   ├─ azure:signalr:Service           signalr                                        delete
 -   ├─ azure:storage:Account           storage                                        delete
 -   ├─ kubernetes:core:ServiceAccount  orleans-rbac                                   delete
 -   └─ azure:core:ResourceGroup        rg-branch                                      delete

Resources:
    - 8 to delete

Do you want to perform this destroy? yes
Destroying (feature-server-deployment):

     Type                       Name                                           Status                  Info
     pulumi:pulumi:Stack        azure-py-kubernetes-feature-server-deployment                          3 messages
 -   └─ kubernetes:core:Secret  storageacct                                    **deleting failed**     1 error

Diagnostics:
  kubernetes:core:Secret (storageacct):
    error: Plan apply failed: the cache has not been filled yet

  pulumi:pulumi:Stack (azure-py-kubernetes-feature-server-deployment):
    E0208 23:32:34.891272    8220 memcache.go:126] couldn't get current server API group list; will keep using cached value. (Get <https://dns-8920cff4.hcp.westeurope.azmk8s.io:443/api?timeout=32s>: dial tcp: lookup <http://dns-8920cff4.hcp.westeurope.azmk8s.io|dns-8920cff4.hcp.westeurope.azmk8s.io>: no such host)
    warning: Cluster failed to report its version number; falling back to 1.9%!(EXTRA bool=false)
    E0208 23:32:35.124311    8220 memcache.go:126] couldn't get current server API group list; will keep using cached value. (Get <https://dns-8920cff4.hcp.westeurope.azmk8s.io:443/api?timeout=32s>: dial tcp: lookup <http://dns-8920cff4.hcp.westeurope.azmk8s.io|dns-8920cff4.hcp.westeurope.azmk8s.io>: no such host)

Permalink: <https://app.pulumi.com/4c74356b41/azure-py-kubernetes/feature-server-deployment/updates/37>
error: update failed