Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/rabbitmq] Reduce readiness/liveness probes frequency #10377

Merged
merged 1 commit into from
Jan 3, 2019
Merged

[stable/rabbitmq] Reduce readiness/liveness probes frequency #10377

merged 1 commit into from
Jan 3, 2019

Conversation

juan131
Copy link
Collaborator

@juan131 juan131 commented Jan 3, 2019

Signed-off-by: juan131 [email protected]

What this PR does / why we need it:

Currently, readiness/liveness probes are executed every 5 seconds which is causing high CPU usage on certain clusters. This PR increases the timeoutSeconds & periodSeconds of these probes to reduce the frequency so they reduce the impact on the cluster performance.

Which issue this PR fixes

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • Chart Version bumped
  • Variables are documented in the README.md

@helm-bot helm-bot added Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 3, 2019
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 3, 2019
@juan131
Copy link
Collaborator Author

juan131 commented Jan 3, 2019

/assign @tompizmor @desaintmartin

Copy link
Collaborator

@tompizmor tompizmor left a comment

Choose a reason for hiding this comment

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

/ok-to-test
/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: juan131, tompizmor

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2019
@k8s-ci-robot k8s-ci-robot merged commit e02324a into helm:master Jan 3, 2019
| `livenessProbe.timeoutSeconds` | number of seconds | 5 |
| `livenessProbe.periodSeconds` | number of seconds | 5 |
| `livenessProbe.timeoutSeconds` | number of seconds | 20 |
| `livenessProbe.periodSeconds` | number of seconds | 30 |
Copy link
Collaborator

Choose a reason for hiding this comment

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

doesn't it miss the default values for readiness probes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're right. Check this new PR: #10380

@juan131 juan131 deleted the rabbitmq_probes branch January 3, 2019 15:48
wgiddens pushed a commit to wgiddens/charts that referenced this pull request Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). lgtm Indicates that a PR is ready to be merged. ok-to-test size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RabbitMQ high CPU usage on idle VM
5 participants