<p>I am relatively new to Kubernetes, and have a current task to debug Eviction pods on my work.
I'm trying to replicate the behaviour on a local k8s cluster in minikube.
So far I just cannot get evicted pods happening.</p>
<p>Can you help me trigger this mechanism?</p>

Diogo Cardoso
<p>the eviction of pods is managed by the qos classes (quality of pods)</p>
<p>there are 3 categories</p>
<p>Guaranteed (limit = request cpu or ram) not evictable
Burstable
BestEffort</p>
<p>if you want test this mechanism , you can scale a pod that consume lot of memory or cpu and before that launch your example pods with différent request and limit  for test this behavior. this behavior is only avaible for eviction so your pods must be already started before a cpu load.</p>
<p>after if you test a scheduling mechanism during a luanch time you can configure a priorityclassname for schedule a pods  even if the cluster is full.</p>
<p>by example if your cluster is full you can't schedule a new pods because your pod don't have a sufficient privilege.</p>
<p>if you want schedule anyway a pod despite that you can add a priorityclassname system-node-critical or create your own priorityclass  and one of the pod with a lower priority will be evict and your pod will be launched</p>
