Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request:] Pod Kill Experiment #1

Open
26tanishabanik opened this issue Dec 21, 2022 · 6 comments
Open

[Feature Request:] Pod Kill Experiment #1

26tanishabanik opened this issue Dec 21, 2022 · 6 comments

Comments

@26tanishabanik
Copy link

What: Write a pod kill experiment for some deployment
Why: It tests deployment replica availability and recovery

@aantn
Copy link
Contributor

aantn commented Dec 21, 2022

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

@26tanishabanik
Copy link
Author

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?

@aantn
Copy link
Contributor

aantn commented Dec 21, 2022 via email

@26tanishabanik
Copy link
Author

26tanishabanik commented Dec 21, 2022

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

@arikalon1
Copy link

What will be the trigger for deleting the pod?

@26tanishabanik
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants