lens icon indicating copy to clipboard operation
lens copied to clipboard

Force deletion of resource even with finalizers

Open zlepper opened this issue 7 months ago • 1 comments

What would you like to be added: I would like a button or something that would allow me to force delete a source or a set of resource, irrespetively of them having finalizers.

Why is this needed: Currently we are dealing with a fun "feature" in KEDA where is the target of a ScaledObject is deleted, then it's not always possible to delete the ScaledObject as the reconciler gets stuck. This is apparently intentional from KEDAs side as far as I can tell from their GitHub. The only real way of "fixing" this is to go and remove the finalizers from all the ScaledObjects, one by one, which takes a while when i need to delete 25 of them.

It should definetely come with a big fat warning "What you are about to do can corrupt stuff, are you absolutely 110% sure this is what you want to do"?

This is a more general version of https://github.com/lensapp/lens/issues/515 I think.

Environment you are Lens application on:

  • Kubernetes distribution: AKS
  • Desktop OS: NixOS

zlepper avatar Jul 08 '24 11:07 zlepper