<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Kubernetes on JEROENDEV</title>
    <link>https://jeroendev.one/categories/kubernetes/</link>
    <description>Recent content in Kubernetes on JEROENDEV</description>
    <generator>Hugo 0.125.1</generator>
    <language>en</language>
    <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC 4.0&lt;/a&gt;</copyright>
    <lastBuildDate>Sat, 05 Aug 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jeroendev.one/categories/kubernetes/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Kubernetes: Fix stuck &#39;terminating namespace</title>
      <link>https://jeroendev.one/posts/kubernetes-fix-stuck-terminating-namespace/</link>
      <pubDate>Sat, 05 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/kubernetes-fix-stuck-terminating-namespace/</guid>
      <description>If a namespace on Kubernetes is stuck on the &amp;rsquo;terminating&amp;rsquo; / finalizer state. You can try to run the following to delete it.&#xA;read -p &amp;#34;Namespace: &amp;#34; NAMESPACE kubectl proxy &amp;amp; kubectl get namespace $NAMESPACE -o json |jq &amp;#39;.spec = {&amp;#34;finalizers&amp;#34;:[]}&amp;#39; &amp;gt;temp.json curl -k -H &amp;#34;Content-Type: application/json&amp;#34; -X PUT --data-binary @temp.json 127.0.0.1:8001/api/v1/namespaces/$NAMESPACE/finalize This should fix your stuck namespace.</description>
    </item>
  </channel>
</rss>
