modified: README.md

This commit is contained in:
2026-03-07 11:20:07 +00:00
parent d35c380e54
commit 4a0a8bfbe6

View File

@@ -4,6 +4,7 @@ Kubernetes is an opensource platform that automates the deployment, scaling,
- [Namespaces](#namespaces)
- [Create namespace](#create-namespace)
- [namespace stuck on delete](#namespace-stuck-on-delete)
- [Pods](#pods)
- [Create an pod](#create-an-pod)
- [Get Pod](#get-pod)
@@ -70,6 +71,18 @@ metadata:
name: namespace-name
```
### namespace stuck on delete
**nuke finalizers:**
``` bash
NAMESPACE="NAMESPACE_NAME"
kubectl get namespace ${NAMESPACE} -o json \
| jq '.spec.finalizers = []' \
| kubectl replace --raw /api/v1/namespaces/${NAMESPACE}/finalize -f -
```
## Pods
### Create an pod