modified: README.md
This commit is contained in:
13
README.md
13
README.md
@@ -4,6 +4,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling,
|
|||||||
|
|
||||||
- [Namespaces](#namespaces)
|
- [Namespaces](#namespaces)
|
||||||
- [Create namespace](#create-namespace)
|
- [Create namespace](#create-namespace)
|
||||||
|
- [namespace stuck on delete](#namespace-stuck-on-delete)
|
||||||
- [Pods](#pods)
|
- [Pods](#pods)
|
||||||
- [Create an pod](#create-an-pod)
|
- [Create an pod](#create-an-pod)
|
||||||
- [Get Pod](#get-pod)
|
- [Get Pod](#get-pod)
|
||||||
@@ -70,6 +71,18 @@ metadata:
|
|||||||
name: namespace-name
|
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
|
## Pods
|
||||||
|
|
||||||
### Create an pod
|
### Create an pod
|
||||||
|
|||||||
Reference in New Issue
Block a user