-
Notifications
You must be signed in to change notification settings - Fork 98
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
Added support to kill prometheus pods #6
Conversation
Please have a look @chaitanyaenr |
3ceb399
to
43e62b0
Compare
Can one of the admins verify this patch? |
43e62b0
to
b411d58
Compare
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe also add a post action to check the pod count i.e 2 similar to https://github.com/openshift-scale/kraken/blob/823cecad6e801d3ee86580f1bc480c7a8ba5d237/scenarios/post_action_openshift-kube-apiserver.yml#L19?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it
b411d58
to
205434f
Compare
value: "Running" | ||
# The actions will be executed in the order specified | ||
actions: | ||
- checkPodCount: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
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. |
Added a scenario to kill prometheus pods.