4531 links
38 private links
  • Strak.ch | Actu et liens en vrac
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • Stuck Kubernetes Finalizers

    Si un namespace ne veut vraiment pas se laisser supprimer, en état "Terminating":

    kubectl get namespace mynamespace -o json > mynamespace.json

    Edit the file and remove the finalizers field entirely, ensuring the JSON looks like this:

    {
      "apiVersion": "v1",
      "kind": "Namespace",
      "metadata": {
        "name": "mynamespace"
      }
    }

    Then apply the modified JSON back to the API:

    kubectl replace --raw "/api/v1/namespaces/mynamespace/finalize" -f mynamespace.json

    Voir aussi https://blog.zwindler.fr/2020/03/23/supprimer-un-namespace-bloque-a-terminating/

    February 19, 2026 at 2:43:33 PM GMT+1 * - permalink -
    QRCode
    - https://blog.devops.dev/stuck-kubernetes-finalizers-e20c7f0c9fb7
    Kubernetes Debug
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation