Ian K. Coolidge
f3829c4be3
cpuset: Rename 'NewCPUSet' to 'New'
2023-01-06 23:32:51 +00:00
Francesco Romani
23abdab2b7
smtalign: propagate policy options to policies
...
Consume in the static policy the cpu manager policy options from
the cpumanager instance.
Validate in the none policy if any option is given, and fail if so -
this is almost surely a configuration mistake.
Add new cpumanager.Options type to hold the options and translate from
user arguments to flags.
Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:15:37 +02:00
Francesco Romani
6d33354e4c
node: podresources: implement GetAllocatableResources API
...
Extend the podresources API implementing the GetAllocatableResources endpoint,
as specified in the KEPs:
https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments
https://github.com/kubernetes/enhancements/pull/2404
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:36 +01:00
he.qingguo
8826d12bb0
The code in TestNonePolicyName does not need to wrap, so fix it.
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-06 10:48:30 +08:00
nolancon
709989efa2
CPU Manager - Rename policy.AddContainer() to policy.Allocate()
2020-02-27 07:24:33 +00:00
Kevin Klues
185e790f71
Update CPUManager policies to adhere to new state semantics
2019-12-11 23:02:51 +01:00
Kevin Klues
9191a949ae
Extend makePod() helper in CPUManager to take PodUID and ContainerName
2019-12-11 23:02:51 +01:00
Szymon Scharmach
4ee0adc77a
Added Cpu Manager file state
2017-10-26 20:03:17 +02:00
Connor Doyle
ec706216e6
Un-revert "CPU manager wiring and none
policy"
...
This reverts commit 8d2832021a
.
2017-09-04 07:24:59 -07:00
Shyam JVS
8d2832021a
Revert "CPU manager wiring and none
policy"
2017-09-01 18:17:36 +02:00
Balaji Subramaniam
7567f1765f
Added CPU manager unit tests (none policy)
2017-08-30 08:26:22 -07:00