kudobuilder/kuttl

Namespace deletion timeout explicit option for kuttl

cap1984 opened this issue · 8 comments

What would you like to be added: namespace deletion specific timeout argument

Why is this needed: The latest 0.15.0 release has been introduced the strict namespace removal policy which I prefer very much. However, since it's not a part of any TestStep, we have to use TestSuite wide timeout parameter and it's not the perfect use-case to follow. I believe more granular control for namespace removal action is a way to go further.
Thanks.

I like this request. It can be really useful for tests where a lot of stuff is created.

Aren’t created resources removed individually ?
If so the namespace removal should not be long.

Aren’t created resources removed individually ? If so the namespace removal should not be long.

Nope, as a user I just want to remove all created resources at once without any extra efforts.

This is especially problematic when using finalizers.

This is especially problematic when using finalizers.

That is why I dropping them on the last step :D

But it won't work =)

How would a resource using a finaliser be deleted if the controller pod is no more...

How would a resource using a finaliser be deleted if the controller pod is no more...

In our case it does work - once finalizer is dropped from custom resource object, kubernetes is free to remove the underlaying statefulset with pods. Controller (operator) is being wiped out with other payload without any issues.