ts-delete-stuck-crd
This commit is contained in:
parent
c59bfa9b0a
commit
4000f65fb9
@ -41,6 +41,7 @@
|
||||
* [Dealing with disruptions](#disruptions)
|
||||
* [Troubleshooting](#troubleshooting)
|
||||
* [Deleting a stuck namespace](#ts-delete-stuck-namespace)
|
||||
* [Deleting stuck CRDs](#ts-delete-stuck-crd)
|
||||
|
||||
# kubectl - BASH autocompletion <a name="user-content-kubectl-bash-autocompletion"></a>
|
||||
For current shell only:
|
||||
@ -889,4 +890,7 @@ node/k3s-node2 uncordoned
|
||||
kubectl get namespace "stucked-namespace" -o json \
|
||||
| tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \
|
||||
| kubectl replace --raw /api/v1/namespaces/stucked-namespace/finalize -f -
|
||||
```
|
||||
```
|
||||
|
||||
## Deleting stuck CRDs <a name="user-content-ts-delete-stuck-crd"></a>
|
||||
https://github.com/kubernetes/kubernetes/issues/60538#issuecomment-369099998
|
||||
Loading…
Reference in New Issue
Block a user