Skip to content

Comments

CCXDEV-1560 - Optimize the CPU usage of insights-runtime-extractor#1220

Open
jmesnil wants to merge 3 commits intoopenshift:masterfrom
jmesnil:CCXDEV-15960
Open

CCXDEV-1560 - Optimize the CPU usage of insights-runtime-extractor#1220
jmesnil wants to merge 3 commits intoopenshift:masterfrom
jmesnil:CCXDEV-15960

Conversation

@jmesnil
Copy link
Contributor

@jmesnil jmesnil commented Feb 2, 2026

Add the PRD that describe the required changes in the Insights Operator.

The changes to the insights-runtime-extractor are handled in openshift/insights-runtime-extractor#60.

JIRA: https://issues.redhat.com/browse/CCXDEV-15960

  • Bugfix

Changelog

Integration of the insights-runtime-extractor and its API have been changed to collect only runtime data
from the subset of containers that are gathered by the Insights Operator

Breaking Changes

No

References

https://issues.redhat.com/browse/CCXDEV-15960

Add the PRD that describe the required changes in the Insights Operator.

The changes to the insights-runtime-extractor are handled in openshift/insights-runtime-extractor#60.

JIRA: https://issues.redhat.com/browse/CCXDEV-15960

Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 2, 2026
@openshift-ci
Copy link

openshift-ci bot commented Feb 2, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link

openshift-ci bot commented Feb 2, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jmesnil
Once this PR has been reviewed and has the lgtm label, please assign ncaak for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Leverage the new POST endpoint in insights-runtime-extractor that accepts a list of container IDs to scan. The insights-operator will:

1. Determine which container IDs are needed based on the pods it's processing
2. Send only those container IDs to the insights-runtime-extractor via POST request
Copy link
Contributor

Choose a reason for hiding this comment

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

Would batching those requests, instead of sending all 8000 IDs in a single POST, add here any benefits?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

POSTing at most 8000 ids would send a request of maximum 600KB.
I'm not sure that it is worth splitting that into several requests though... But if you want to make that a requirement from the Insights Operator, it's doable

@jmesnil jmesnil force-pushed the CCXDEV-15960 branch 3 times, most recently from 827f2b7 to 18ed0ab Compare February 6, 2026 15:17
@jmesnil jmesnil marked this pull request as ready for review February 6, 2026 15:17
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 6, 2026
Implementation

Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
@jmesnil
Copy link
Contributor Author

jmesnil commented Feb 9, 2026

/retest

2 similar comments
@jmesnil
Copy link
Contributor Author

jmesnil commented Feb 11, 2026

/retest

@jmesnil
Copy link
Contributor Author

jmesnil commented Feb 12, 2026

/retest

@openshift-ci
Copy link

openshift-ci bot commented Feb 12, 2026

@jmesnil: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/lint 5c40678 link true /test lint
ci/prow/e2e-gcp-ovn-techpreview 5c40678 link true /test e2e-gcp-ovn-techpreview
ci/prow/insights-operator-e2e-tests 5c40678 link true /test insights-operator-e2e-tests

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

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