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

Revert "Only report edge plugin health if sync is enabled." #470

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

ronenh
Copy link
Contributor

@ronenh ronenh commented Oct 7, 2024

This reverts commit 7a6f2ee.

It was a mistake to omit the "sync" health status when the edge plugin isn't enabled. The plugin can be enabled and disabled dynamically through discovery calls and it's better to always include its status in the health service.

I originally made the change because it looked like the kubernetes startup probe was getting back NOT_SERVING responses, but I tested it again with the change in this PR and the overall pod health is reported as healthy even if the "sync" service's status is NOT_SERVING.

@ronenh ronenh requested a review from gertd October 7, 2024 16:55
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11220289365

Details

  • 0 of 3 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.006%) to 28.405%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/app/topaz.go 0 3 0.0%
Totals Coverage Status
Change from base Build 11147796636: 0.006%
Covered Lines: 1320
Relevant Lines: 4647

💛 - Coveralls

@gertd gertd merged commit b5e9e98 into main Oct 10, 2024
5 checks passed
@gertd gertd deleted the edge-health branch October 10, 2024 16:23
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.

3 participants