ts-delete-stuck-crd
This commit is contained in:
parent
c59bfa9b0a
commit
4000f65fb9
@ -41,6 +41,7 @@
|
|||||||
* [Dealing with disruptions](#disruptions)
|
* [Dealing with disruptions](#disruptions)
|
||||||
* [Troubleshooting](#troubleshooting)
|
* [Troubleshooting](#troubleshooting)
|
||||||
* [Deleting a stuck namespace](#ts-delete-stuck-namespace)
|
* [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>
|
# kubectl - BASH autocompletion <a name="user-content-kubectl-bash-autocompletion"></a>
|
||||||
For current shell only:
|
For current shell only:
|
||||||
@ -890,3 +891,6 @@ kubectl get namespace "stucked-namespace" -o json \
|
|||||||
| tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \
|
| tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \
|
||||||
| kubectl replace --raw /api/v1/namespaces/stucked-namespace/finalize -f -
|
| 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