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

[DoNotMerge] Ip reconciler alerting #218

Conversation

nicklesimba
Copy link
Collaborator

@nicklesimba nicklesimba commented May 5, 2022

WIP pull request for ip-reconciler alerting. This PR has two goals:

  1. enable the ip-reconciler to be invoked via the ip-control-loop, deprecating the ip-reconciler binary.
  2. send metrics to prometheus when the ip-reconciler succeeds, so that cluster-network-operator can read the metrics and send alerts accordingly. (as a result, whereabouts code will interact with CNO yaml)

@lgtm-com
Copy link

lgtm-com bot commented May 5, 2022

This pull request introduces 1 alert when merging a3a8599 into 611790c - view on LGTM.com

new alerts:

  • 1 for Unreachable statement

@maiqueb maiqueb self-requested a review May 10, 2022 15:22
@maiqueb
Copy link
Collaborator

maiqueb commented May 10, 2022

First and foremost, if this PR has 2 objectives, I would rather have 2 PRs with one objective each.

That will help us focus, and enable you to progress further faster.

Comment on lines 21 to 23
case <-time.After(5 * time.Second):
returnErr <- errors.New("timed out (this is the 5 sec test timeout, nbd)")
return
Copy link
Collaborator

@maiqueb maiqueb May 13, 2022

Choose a reason for hiding this comment

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

@nicklesimba nicklesimba requested a review from dougbtv as a code owner May 17, 2022 17:35
@lgtm-com
Copy link

lgtm-com bot commented May 17, 2022

This pull request introduces 1 alert when merging a0f4d90 into 06d3340 - view on LGTM.com

new alerts:

  • 1 for Unreachable statement

Signed-off-by: nicklesimba <[email protected]>
@nicklesimba
Copy link
Collaborator Author

First and foremost, if this PR has 2 objectives, I would rather have 2 PRs with one objective each.

That will help us focus, and enable you to progress further faster.

The 2 objectives here are actually pretty interlinked. I'm not ready to merge yet but I have both working at the simplest level, and I think separate PRs would end up becoming redundant since the code changes are small and are all made to work with each other.

@lgtm-com
Copy link

lgtm-com bot commented May 27, 2022

This pull request introduces 1 alert when merging 1052d80 into 2789b2e - view on LGTM.com

new alerts:

  • 1 for Unreachable statement

…eory) ip_test.go should remain functional

Signed-off-by: nicklesimba <[email protected]>
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.

2 participants