OCPNODE-3833: PodAndContainerStatsFromCRI as Tech-Preview#2942
OCPNODE-3833: PodAndContainerStatsFromCRI as Tech-Preview#2942dgrisonnet wants to merge 1 commit into
Conversation
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@dgrisonnet: This pull request references OCPSTRAT-2556 which is a valid jira issue. 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Hello @dgrisonnet! Some important instructions when contributing to openshift/api: |
📝 WalkthroughWalkthroughAdds the exported Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Summary by QodoEnable PodAndContainerStatsFromCRI as Tech Preview / Dev Preview (no-upgrade)
AI Description
Diagram
High-Level Assessment
Files changed (10)
|
|
@dgrisonnet: This pull request references OCPNODE-3833 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "5.0.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/lgtm |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required |
1 similar comment
|
/retest-required |
|
what are the plans for exposing the stats config to container runtime config? i personally think that'll be a promising aspect of this feature, where customers can choose which controllers they want to collect stats for. That also could allow for us to tune the stats collection aspects (like eventually https://redhat.atlassian.net/browse/OCPSTRAT-2346 as well as collection period) |
|
For https://redhat.atlassian.net/browse/OCPSTRAT-2346 I am working on a different approach than the stats API one. To me it should be treated as an actual bug in how cri-o (and cadvisor) report network metrics. I want to leverage the fact that the runtime is aware of host network enabled pods: https://github.com/cri-o/cri-o/blob/11f2b51a5b6e9ff42dcd148b3df16858b2c2897f/internal/lib/sandbox/sandbox.go#L70 to filter-out pod-specific interfaces. This could take two shapes:
|
|
yeah I was thinking something like approach 1, though I worry about treating it like a bug and unilaterally making the change, in case users have problems with it. I'm open to how you want to approach, but I was imagining it'd be configurable (default on, but upgrades would keep off with an MC or smth) |
|
I am still on the fence on whether this should be configurable or on by default. Once I have a proof of concept ready, I'll open a PR and we can discuss that there /retest-required |
|
@dgrisonnet: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
The feature graduated to Beta in Kubernetes 1.37: kubernetes/enhancements#2371. We want to start enabling as TP as soon as 5.0 to test it downstream ahead of 5.1.