File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
pkg/cri/resource-manager/policy/builtin/podpools
test/e2e/policies.test-suite/podpools/n4c16/test06-prometheus-metrics Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ func (p *podpools) Description() string {
178178// Start prepares this policy for accepting allocation/release requests.
179179func (p * podpools ) Start (add []cache.Container , del []cache.Container ) error {
180180 log .Info ("%s policy started" , PolicyName )
181- return p .Sync (add , del )
181+ return p .Sync (p . cch . GetContainers () , del )
182182}
183183
184184// Sync synchronizes the active policy state.
Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ CPUREQ="" CPULIM=""
9797namespace=kube-system CONTCOUNT=3 create podpools-busybox
9898report allowed
9999vm-command " curl --silent $metrics_url | grep -v ^cgroup_"
100- verify-log-vs-metrics pod5:pod5c1 0 20
100+ # There should be kube-apiserver, etcd etc. running on reserved CPUs as well,
101+ # therefore allow a lot of CPU usage yet pod5 is not doing anything.
102+ verify-log-vs-metrics pod5:pod5c1 0 100
101103
102104cleanup
You can’t perform that action at this time.
0 commit comments