Skip to content

Add Node health controller#17214

Merged
mkeeler merged 1 commit intomainfrom
catalog-v2/node-health-controller
May 15, 2023
Merged

Add Node health controller#17214
mkeeler merged 1 commit intomainfrom
catalog-v2/node-health-controller

Conversation

@mkeeler
Copy link
Member

@mkeeler mkeeler commented May 3, 2023

Description

This controller will monitor HealthStatus objects owned by Nodes and report aggregate health information in the Status of a Node.

This builds on PR #17211. I did have to also squash merge the boxofrad/controller-implementation branch. Eventually that should be removed from this PR once it is merged. For now you can just look at the second non-squashed commit.

Testing & Reproduction steps

Unit tests are complete with 93.5% coverage. The uncovered lines shouldn't really be possible.

Multi-controller lifecycle integration test will come in a future PR.

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

@mkeeler mkeeler requested a review from ishustava May 3, 2023 12:06
@mkeeler mkeeler mentioned this pull request May 3, 2023
4 tasks
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from 8df2523 to 2d0117d Compare May 3, 2023 21:06
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from da5a915 to 93c345a Compare May 3, 2023 21:10
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch 4 times, most recently from 48a1413 to b5f62c4 Compare May 4, 2023 19:54
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 93c345a to 38ea96b Compare May 4, 2023 20:57
@mkeeler mkeeler marked this pull request as ready for review May 4, 2023 21:01
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 38ea96b to b64a0bf Compare May 4, 2023 21:18
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from b5f62c4 to 6749521 Compare May 5, 2023 12:14
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from b64a0bf to 00bf64b Compare May 5, 2023 12:15
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch 2 times, most recently from fba2cd5 to 7278e65 Compare May 5, 2023 13:49
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch 3 times, most recently from a66a7e5 to b9ed172 Compare May 5, 2023 16:33
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch 2 times, most recently from 115eb1c to eb448ec Compare May 8, 2023 17:38
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from b9ed172 to d702cad Compare May 8, 2023 17:39
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from eb448ec to b6acdf7 Compare May 8, 2023 20:02
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from d702cad to c6bae49 Compare May 8, 2023 20:09
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch 2 times, most recently from a559ba6 to 92d2ee7 Compare May 9, 2023 16:43
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from c6bae49 to 16fcab1 Compare May 9, 2023 16:44
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch 2 times, most recently from 1d4d75f to ee51506 Compare May 9, 2023 21:36
Copy link
Contributor

@ishustava ishustava left a comment

Choose a reason for hiding this comment

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

LGTM. I left a few minor comments.

@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from ee51506 to d1437c3 Compare May 9, 2023 21:48
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from d1437c3 to 2d58a6c Compare May 10, 2023 11:56
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 16fcab1 to 9594a10 Compare May 10, 2023 11:59
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch 2 times, most recently from f6e07da to 8a6ebb9 Compare May 10, 2023 16:40
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 9594a10 to 17ee0be Compare May 10, 2023 16:40
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from 8a6ebb9 to d661adf Compare May 10, 2023 17:04
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch 2 times, most recently from 55585af to 3643c1d Compare May 10, 2023 17:11
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from d661adf to b206d95 Compare May 10, 2023 17:24
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch 3 times, most recently from b6f86ee to 8d05b6c Compare May 10, 2023 19:26
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch 2 times, most recently from b58240e to e2d93b9 Compare May 10, 2023 20:50
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 8d05b6c to 7b55777 Compare May 10, 2023 20:50
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from e2d93b9 to 540a15f Compare May 11, 2023 21:03
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 7b55777 to 9f56985 Compare May 11, 2023 21:04
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from 540a15f to da72b6c Compare May 11, 2023 21:08
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 9f56985 to 4a88416 Compare May 11, 2023 21:09
@mkeeler mkeeler force-pushed the catalog-v2/type-validations branch from da72b6c to 32cde93 Compare May 12, 2023 12:04
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 4a88416 to 7eb038c Compare May 12, 2023 12:08
Base automatically changed from catalog-v2/type-validations to main May 12, 2023 13:24
This will aggregate all HealthStatus objects owned by the Node and update the status of the Node with an overall health.
@mkeeler mkeeler force-pushed the catalog-v2/node-health-controller branch from 7eb038c to 34924a7 Compare May 12, 2023 13:25
@mkeeler mkeeler added pr/no-backport pr/no-changelog PR does not need a corresponding .changelog entry labels May 15, 2023
@mkeeler mkeeler merged commit d37572b into main May 15, 2023
@mkeeler mkeeler deleted the catalog-v2/node-health-controller branch May 15, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport pr/no-changelog PR does not need a corresponding .changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants