robusta-chaos
robusta-chaos copied to clipboard
[Feature Request:] Pod Kill Experiment
What: Write a pod kill experiment for some deployment Why: It tests deployment replica availability and recovery
Hey, if you want to take a shot at this, we have a tutorial on writing actions at https://docs.robusta.dev/master/tutorials/my-first-custom-action.html
Hey, if you want to take a shot at this, we have a tutorial on writing actions at https://docs.robusta.dev/master/tutorials/my-first-custom-action.html
Won't the pod kill experiment be similar to the node kill experiment?
Yes, although that depends on what you're trying to simulate. If you just want to kill the pod gracefully you can do something like pod.delete() and that's it.
On Wed, Dec 21, 2022 at 9:19 PM Tanisha Banik @.***> wrote:
Hey, if you want to take a shot at this, we have a tutorial on writing actions at https://docs.robusta.dev/master/tutorials/my-first-custom-action.html
Won't the pod kill experiment be similar to the node kill experiment https://github.com/robusta-dev/robusta-chaos/blob/master/robusta_chaos/node_killer.py ?
— Reply to this email directly, view it on GitHub https://github.com/robusta-dev/robusta-chaos/issues/1#issuecomment-1361975241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADYUB5EZYRF3ARDMRJLXFDWONJ2TANCNFSM6AAAAAATF3R2NI . You are receiving this because you commented.Message ID: @.***>
Yes, although that depends on what you're trying to simulate. If you just want to kill the pod gracefully you can do something like pod.delete() and that's it. … On Wed, Dec 21, 2022 at 9:19 PM Tanisha Banik @.> wrote: Hey, if you want to take a shot at this, we have a tutorial on writing actions at https://docs.robusta.dev/master/tutorials/my-first-custom-action.html Won't the pod kill experiment be similar to the node kill experiment https://github.com/robusta-dev/robusta-chaos/blob/master/robusta_chaos/node_killer.py ? — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADYUB5EZYRF3ARDMRJLXFDWONJ2TANCNFSM6AAAAAATF3R2NI . You are receiving this because you commented.Message ID: @.>
Yah, I just want to delete some pod and the hypothesis is the deployment will scale up another pod to maintain the replica count, that's the experiment
What will be the trigger for deleting the pod?
What will be the trigger for deleting the pod?
Just random delete. I haven't thought of any trigger yet, you may suggest, if you have any ideas @arikalon1