diff --git a/README.md b/README.md index 75b5ef2..908e1f0 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling, - [k3s](#k3s) - [Install / Setup](#install--setup) - [prune old images](#prune-old-images) + - [kill all](#kill-all) - [Prune ephemeral containerd data](#prune-ephemeral-containerd-data) - [check system logs](#check-system-logs) - [Workarounds \& Fixes](#workarounds--fixes) @@ -832,6 +833,17 @@ crictl rmi --prune sudo ctr --address /run/k3s/containerd/containerd.sock images prune --all ``` +### kill all + +``` bash +k3s-killall.sh +``` + +If k3s using mount. Force kill by mount + +```bash +kill -9 $(lsof +f -- /mount | awk 'NR>1 {print $2}') +``` ### Prune ephemeral containerd data