datadog-agent
datadog-agent copied to clipboard
Fix parent limit was not working in all combination of CPUSets/Limits
What does this PR do?
Fix for #3794. Fix was not working depending on CPUSet/Limits values.
Motivation
Additional Notes
Possible Drawbacks / Trade-offs
Describe how to test/QA your changes
See #13794.
Reviewer's Checklist
- [x] If known, an appropriate milestone has been selected; otherwise the
Triagemilestone is set. - [x] Use the
major_changelabel if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote. - [x] A release note has been added or the
changelog/no-changeloglabel has been applied. - [x] Changed code has automated tests for its functionality.
- [x] Adequate QA/testing plan information is provided if the
qa/skip-qalabel is not applied. - [x] At least one
team/..label has been applied, indicating the team(s) that should QA this change. - [x] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
- [x] If applicable, the
need-change/operatorandneed-change/helmlabels have been applied. - [x] If applicable, the
k8s/<min-version>label, indicating the lowest Kubernetes version compatible with this feature. - [x] If applicable, the config template has been updated.