linuxkuberneteskubernetes-podinfrastructuresre

How can I OOM kill a pod manually in Kubernetes


I'm trying to manually OOM Kill pods for testing purposes, does anyone know how I can achieve this?


Solution

  • You can run stress-ng in the pod. With this tool you can also stress CPU, I/O altogether if you need.