typos and wording
This commit is contained in:
parent
65040b91bf
commit
78a2740013
1 changed files with 2 additions and 2 deletions
|
@ -8,13 +8,13 @@ tags:
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
I was playing with the percona xtradb operator on one of my test clusters last week and left it in a state where mysqld errors logs were piling up over the week-end. On monday morning my nodes had their filesystems full and I discovered what kubernetes evicted pods were : pods that fail when a node's resources get constrained.
|
I was playing with the percona xtradb operator on one of my test clusters last week and left it in a state where mysqld error logs were piling up over the week-end. On Monday morning my nodes had their file systems full and I discovered what kubernetes evicted pods were : pods that fail when a node's resources get constrained.
|
||||||
|
|
||||||
My problem is : these evicted pods lingered, so I looked for a way to clean them up.
|
My problem is : these evicted pods lingered, so I looked for a way to clean them up.
|
||||||
|
|
||||||
## How to delete all evicted pods
|
## How to delete all evicted pods
|
||||||
|
|
||||||
My google fu directed my towards several commands looking like the following, but they all had a thing or another that did not work. Here is the one I pieced together from these various resources :
|
My google fu directed me towards several commands similar to the following, but they all had a thing or another that did not work properly. Here is the one I pieced together from these various sources :
|
||||||
```sh
|
```sh
|
||||||
kubectl get pods --all-namespaces -o json |
|
kubectl get pods --all-namespaces -o json |
|
||||||
jq '.items[] | select(.status.reason!=null) |
|
jq '.items[] | select(.status.reason!=null) |
|
||||||
|
|
Loading…
Add table
Reference in a new issue