<p>I'm running <code>rook-ceph-cluster</code> on top of <code>AWS</code> with <code>3 masters - 3 worker node</code> configuration.
I have created my cluster using <a href="https://rook.io/docs/rook/v1.0/ceph-examples.html" rel="nofollow noreferrer">this</a>.</p>

<p>Each <code>worker node</code> is <code>100 GiB</code> each.</p>

<p>After setting everything up. I have my pods running (6 pods to be exact,3 for master and 3 for nodes).</p>

<p><strong>How can I crash/fail/stop those pods manually (to test some functionality)?.</strong></p>

<p>Is there is any way <strong>I can add more load manually to those pods so that it can crash?</strong>.</p>

<p>Or <strong>can I somehow make them <code>Out Of Memory</code>?.</strong></p>

<p>Or <strong>can I simulate intermittent network failures and disconnection of nodes from the network?</strong></p>

<p>Or <strong>any other ways like writing some script that might prevent a pod to be created?</strong></p>

<p>You can delete pods manually as mentioned by Graham, but the rest are trickier. For simulating an OOM, you could <code>kubectl exec</code> into the pod and run something that will burn up RAM. Or you could set the limit down below what it actually uses. Simulating network issues would be up to your CNI plugin, but I'm not aware of any that allow failure injection. For preventing a pod from being created, you can set an affinity it that is not fulfilled by any node.</p>
