<p>Kubernetes namespace is stuck in terminating status.</p>
<p>This usually happens due to the finalizer</p>
<pre><code>$ kubectl get ns
NAME             STATUS        AGE
cert-manager     Active        14d
custom-metrics   Terminating   7d
default          Active        222d
nfs-share        Active        15d
ingress-nginx    Active        103d
kube-public      Active        222d
kube-system      Active        222d
lb               Terminating   4d
monitoring       Terminating   6d
production       Active        221d
</code></pre>

RITESH SANJAY MAHAJAN
<h2 id="this-worked-for-me">This worked for me :</h2>
<p>kubectl get namespace linkerd -o json &gt; linkerd.json</p>
<p>Where:/api/v1/namespaces/&lt;your_namespace_here&gt;/finalize</p>
<p>kubectl replace --raw &quot;/api/v1/namespaces/linkerd/finalize&quot; -f ./linkerd.json</p>
