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

fix(plugin): add healthz check retry mechanism #1820

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

akijakya
Copy link
Contributor

Description

Instead of exiting with an error, print out the error message and continue with the retries in case checking the plugin's healthz endpoint fails.

There might be cases when the server is not yet ready to accept connections.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@akijakya akijakya self-assigned this Jun 19, 2024
@akijakya akijakya requested a review from a team as a code owner June 19, 2024 12:06

This comment has been minimized.

Signed-off-by: András Jáky <ajaky@cisco.com>
Signed-off-by: András Jáky <ajaky@cisco.com>
@akijakya akijakya force-pushed the plugin-health-check-retry-mechanism branch from 1b5b98e to c519400 Compare June 20, 2024 09:09
@akijakya akijakya requested a review from ramizpolic June 20, 2024 09:10
Signed-off-by: András Jáky <ajaky@cisco.com>
Copy link

Hey!

Your images are ready:

  • ghcr.io/openclarity/vmclarity-apiserver-dev:pr1820-08fa8c62c01ad36811159e80609c24bdb68faea5
  • ghcr.io/openclarity/vmclarity-cli-dev:pr1820-08fa8c62c01ad36811159e80609c24bdb68faea5
  • ghcr.io/openclarity/vmclarity-cr-discovery-server-dev:pr1820-08fa8c62c01ad36811159e80609c24bdb68faea5
  • ghcr.io/openclarity/vmclarity-orchestrator-dev:pr1820-08fa8c62c01ad36811159e80609c24bdb68faea5
  • ghcr.io/openclarity/vmclarity-plugin-kics-dev:pr1820-08fa8c62c01ad36811159e80609c24bdb68faea5
  • ghcr.io/openclarity/vmclarity-ui-dev:pr1820-08fa8c62c01ad36811159e80609c24bdb68faea5
  • ghcr.io/openclarity/vmclarity-ui-backend-dev:pr1820-08fa8c62c01ad36811159e80609c24bdb68faea5

@zsoltkacsandi zsoltkacsandi added this pull request to the merge queue Jun 21, 2024
Merged via the queue into main with commit 4c2ee6d Jun 21, 2024
40 checks passed
@zsoltkacsandi zsoltkacsandi deleted the plugin-health-check-retry-mechanism branch June 21, 2024 09:03
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

3 participants