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

Added support to kill prometheus pods #6

Merged

Conversation

yashashreesuresh
Copy link
Contributor

@yashashreesuresh yashashreesuresh commented Apr 22, 2020

Added a scenario to kill prometheus pods.

@yashashreesuresh
Copy link
Contributor Author

Please have a look @chaitanyaenr

@yashashreesuresh yashashreesuresh force-pushed the prometheus_pod_kill branch 2 times, most recently from 3ceb399 to 43e62b0 Compare April 22, 2020 05:55
@rht-perf-ci
Copy link

Can one of the admins verify this patch?

@paigerube14
Copy link
Collaborator

I would add this scenario to the config file so it gets run by default, but everything else looks good to me!

@@ -0,0 +1,23 @@
config:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed it

value: "Running"
# The actions will be executed in the order specified
actions:
- checkPodCount:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to mention a timeout for the check pod count action? cc: @paigerube14

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that I can see, I will keep looking though

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to open an issue in powerfulseal to add support to specify the retries as this will avoid maintaining two configs for the same scenario. Kill can be the first action and checkPodCount can be the next action with retries in place. Thoughts?

@chaitanyaenr
Copy link
Collaborator

Merging this as we can revisit it after the issue that @paigerube14 opened ( powerfulseal/powerfulseal#295 ) to add retries logic to avoid having two configs to inject failures and check if the targeted component recovered. Thanks.

@chaitanyaenr chaitanyaenr merged commit c033aa4 into krkn-chaos:master Aug 13, 2020
@yashashreesuresh yashashreesuresh deleted the prometheus_pod_kill branch November 18, 2020 15:32
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

Successfully merging this pull request may close these issues.

None yet

4 participants