fix: record conflict failures and fix missing status patch metric - #320
fix: record conflict failures and fix missing status patch metric#320rawadhossain wants to merge 3 commits into
Conversation
|
@rawadhossain: The label(s) DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rawadhossain The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for node-readiness-controller ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hi @rawadhossain. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
AvineshTripathi
left a comment
There was a problem hiding this comment.
left my initial thoughts here!
|
cc @Priyankasaggu11929 I remember you had some thoughts on this |
9d27a99 to
f04128c
Compare
|
Hi @AvineshTripathi |
|
The largest source of api conflicts (409s) don't rise up because they are handled as merge patch. We should check this after #343 is merged, only after when status conflicts will 'surface' |
Deferred to kubernetes-sigs#320/kubernetes-sigs#288 per review feedback so conflict metrics get handled holistically instead of piecemeal here.
|
cc @ajaysundark for some comments to get holistic context. |
Signed-off-by: Rawad Hossain <rawad.hossain00@gmail.com>
f04128c to
4d3181b
Compare
|
@ajaysundark |
Description
Adds
node_readiness_api_conflicts_total, tracking every conflict and retry across 7 places:Earlier it was just logs and most of these conflicts couldn't actually happen. Now that #343 is in, conflicts are real, so bringing the metric to handle them.
What's added
node_readiness_api_conflicts_totalwith all 7 operations, each tested with a real forced conflict.RuleStatusRuleSweepConflictExhausted: full rule status update can exhaust its retries under load, and that wasn't tracked before.monitoring.mdupdated.Related to Issue #182
Type of Change
/kind feature
Checklist
make testpassesmake lintpasses