Does retention persist even if a namespace is deleted?

Hey folks!

I have envisioned an end-to-end pattern where I’d like a namespace to be created, used for some CI/CD, and then deleted in pretty quick succession. If I have a retention policy set up for it, will it persist its logs/etc. even after a delete operation? Or does a namespace deletion remove that information as well?

Any help is appreciated! Thanks :smiley:

Namespace delete will remove it completely (and its executions from persistence).

There is also deprecate namespace option. If you deprecate namespace it cant be used to start new executions but existing ones can continue and run to completion. In this case those executions (once they complete) would stay in persistence until this ns retention period, maybe this helps.

! That is so helpful! Thank you so much @tihomir