<p>I have a Kubernetes namespace that is stuck on Terminating. I've read that it's probably due to finalizers. When I run <code>kubectl get namespace $NAMESPACE -o json</code> I get the following finalizer:</p>

<pre><code>"finalizers": [
    "kubernetes"
]
</code></pre>

<p>I can't find any documentation on this finalizer. Is it a built-in Kubernetes finalizers or does it come from somewhere else?</p>

velizar
<p>It's kubernetes built-in and is there to ensure all objects are deleted. Is there anything at all in the namespace?</p>

<p>The resolution is <a href="https://stackoverflow.com/a/53661717/578582">here</a>, although this can leave stranded resources</p>

<p>Read the last few comments on <a href="https://github.com/kubernetes/kubernetes/issues/60807#issuecomment-499562515" rel="nofollow noreferrer">this</a></p>
