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

rgw: change the way to livenessProbe and introduce readinessProbe #9080

Conversation

satoru-takeuchi
Copy link
Member

Description of your changes:

rgw doesn't respond livenessProbe if the number of connection reaches its limit (by default, 1000). Then rgw is out of service but still live. Hense the current livenessProbe logic is suitiable for readinessProbe. tcpSocket is enough for livenessProbe.

Remove rgw-multisite-test related code because this test doesn't exist in release-1.7 branch.

Checklist:

  • [o] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • [o] Skip Tests for Docs: Add the flag for skipping the build if this is only a documentation change. See here for the flag.
  • [o] Skip Unrelated Tests: Add a flag to run tests for a specific storage provider. See test options.
  • [o] Reviewed the developer guide on Submitting a Pull Request
  • [o] Documentation has been updated, if necessary.
  • [o] Unit tests have been added, if necessary.
  • [o] Integration tests have been added, if necessary.
  • [o] Pending release notes updated with breaking and/or notable changes, if necessary.
  • [o] Upgrade from previous release is tested and upgrade user guide is updated, if necessary.
  • [o] Code generation (make codegen) has been run to update object specifications, if necessary.

rgw doesn't respond `livenessProbe` if the number of connection reaches its
limit (by default, 1000). Then rgw is out of service but still live.
Hense the current `livenessProbe` logic is suitiable for `readinessProbe`.
`tcpSocket` is enough for `livenessProbe`.

Remove rgw-multisite-test related code because this test doesn't exist
in release-1.7 branch.

Closes: rook#8407

Signed-off-by: Yuzuki Mimura <yuzuki725.m@gmail.com>
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 536b59e)
@satoru-takeuchi satoru-takeuchi added backport This PR *is* a backport PR (as opposed to needs-backport) ceph-rgw labels Oct 31, 2021
@satoru-takeuchi satoru-takeuchi requested review from travisn and removed request for travisn October 31, 2021 22:41
@travisn travisn merged commit 73f581a into rook:release-1.7 Nov 1, 2021
@satoru-takeuchi satoru-takeuchi deleted the rgw-change-the-way-to-livenessprobe-and-introduce-readiness-probe branch June 8, 2022 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport This PR *is* a backport PR (as opposed to needs-backport) ceph-rgw
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants