-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Cumulative stats can't decrease #10652
Conversation
During removal of the container a stat value might be reported as zero; in this case the caluclation could end up with an extremely large number. If the cumulative stat decreases report zero. Signed-off-by: James Sturtevant <jstur@microsoft.com>
b5cc531
to
f6677a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/test pull-containerd-node-e2e |
Backport 1.6 and 1.7? |
Yep, I think so. I added those labels. |
yes, we are seeing it in 1.6 |
/cherrypick release/1.6 |
@samuelkarp: #10652 failed to apply on top of branch "release/1.6":
In 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. |
didn't know there was a bot, since this is in cri server it required some manual changes for SBServer changes in 1.6/1.7: #10671 |
During removal of the container a stat value might be reported as zero; in this case the calculation could end up with an extremely large number. If the cumulative stat decreases report zero.
fixes kubernetes/kubernetes#114057