aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2021-09-02 09:55:13 +0200
committerJulien Dessaux2021-09-02 09:55:13 +0200
commit78a2740013a3bc835c2d5b4aad4467595530b9a8 (patch)
treeacc3162f02fa0c1fcfe609314d42470325401fc8
parentAdded forgotten tag on the last blog post (diff)
downloadwww-78a2740013a3bc835c2d5b4aad4467595530b9a8.tar.gz
www-78a2740013a3bc835c2d5b4aad4467595530b9a8.tar.bz2
www-78a2740013a3bc835c2d5b4aad4467595530b9a8.zip
typos and wording
-rw-r--r--content/blog/kubernetes/delete-all-evicted-pods.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/blog/kubernetes/delete-all-evicted-pods.md b/content/blog/kubernetes/delete-all-evicted-pods.md
index 2481aa1..ef3173c 100644
--- a/content/blog/kubernetes/delete-all-evicted-pods.md
+++ b/content/blog/kubernetes/delete-all-evicted-pods.md
@@ -8,13 +8,13 @@ tags:
## 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.
## 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
kubectl get pods --all-namespaces -o json |
jq '.items[] | select(.status.reason!=null) |