File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
pkg/agent/qrm-plugins/cpu/dynamicpolicy/validator Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -147,18 +147,13 @@ func (c *CPUAdvisorValidator) validateEntries(resp *advisorapi.ListAndWatchRespo
147147 }
148148 }
149149 } else {
150- // skip if not numa_exclusive which is support adjust cpuset
151- if ! allocationInfo .CheckNumaExclusive () {
152- continue
153- }
154-
155150 calculationQuantity , err := calculationInfo .GetTotalQuantity ()
156151 if err != nil {
157152 return fmt .Errorf ("GetTotalQuantity failed with error: %v, pod: %s container: %s" ,
158153 err , podUID , containerName )
159154 }
160155
161- // currently, we don't support strategy to adjust cpuset of dedicated_cores numa_binding and numa_exclusive containers.
156+ // currently, we don't support strategy to adjust cpuset of dedicated_cores containers.
162157 // for stability if the dedicated_cores container calculation result and allocation result, we will return error.
163158 if calculationQuantity != allocationInfo .AllocationResult .Size () {
164159 return fmt .Errorf ("pod: %s container: %s calculation result: %d and allocation result: %d mismatch" ,
You can’t perform that action at this time.
0 commit comments