Repository navigation
feat(config): add reclaimed CPU PSI eviction settings - #238
cheney-lin wants to merge 1 commit into
Conversation
Add optional AQC controls for sustained reclaimed cgroup CPU PSI pressure, including taint, soft eviction, dwell times and proposal budgets. Preserve omitted versus explicit false/zero fields and generate the CRD and deepcopy. Assisted-by: Codex:gpt-6-astra Co-authored-by: Codex <noreply@openai.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
What type of PR is this?
Feature
What this PR does / why we need it:
Adds optional
spec.config.evictionConfig.beCPUPSIEvictionConfigsettings for sustained reclaimed-cgroup CPU PSI full pressure: independent sampling, taint and soft-eviction switches; observation and dwell intervals; pressure/recovery thresholds; external-usage and idle gates; cooldown, proposal budget and grace period.All fields are pointers so omission preserves agent defaults and explicit false/zero values survive configuration delivery. Numeric ranges are included in the generated CRD. Cross-field ordering and eviction-requires-taint validation belong to the consuming agent. This API change alone does not enable eviction.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
Regenerated the AdminQoSConfiguration CRD with controller-gen v0.15.0 and config deepcopy with the repository-pinned k8s.io/code-generator v0.24.6. The generated deepcopy diff also normalizes existing function ordering and an equivalent slice copy.
Validation:
go test -gcflags=all=-l -race ./pkg/apis/config/v1alpha1passed with Go 1.26.5. The new test verifies JSON round trips, nil/false/zero preservation and non-aliasing for every pointer field. Generated outputs and git diff whitespace checks passed.Consumers must upgrade the API module and installed CRD before using the new field.
I can’t confirm details such as generated CRD changes or test results from the supplied change summary alone.