I have my rook-ceph
cluster running on AWS
. Its loaded up with data.
Is there's any way to stimulate POWER FAILURE so that I can test the behaviour of my cluster?.
From Docker you can send KILL signal "SIGPWR" that Power failure (System V)
docker kill --signal="SIGPWR"
and from Kubernet
kubectl exec <pod> -- /killme.sh
and so scriplt killme.sh
beginning of script-----
#!/bin/bash
# Define process to find
kiperf=$(pidof iperf)
# Kills all iperf or command line
kill -30 $kiperf
script end -------------
signal 30 you can find here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With