Skip to content

Hard to recover from failed teardown #6

Description

@cdriehuys

The situation we encountered was as follows:

  1. Start teardown process (deploy --destroy)
  2. k8s resources removed
  3. Most cluster resources destroyed but one resource that failed to destroy
  4. Attempting to run the teardown process again failed because the k8s resources rely on remote state from the cluster step which had already been destroyed.

The way to recover from this is to comment out the k8s step of the deploy process, but we should have some programmatic way of detecting this.

One potential solution is to allow destruction of the k8s resources to fail since destroying the cluster will destroy those resources anyways. This doesn't solve the whole problem but it does solve this specific case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions