lala123912
b247240ad7
Migrate pkg/kubelet/cm/cpumanage/{topology/topology.go, policy_none.go, cpu_assignment.go} to structured logging
2021-03-15 09:42:07 +08: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
sw.han
f5997fe537
Add GetPodTopologyHints() interface to Topology/CPU/Device Manager
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:54 +01:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
nolancon
709989efa2
CPU Manager - Rename policy.AddContainer() to policy.Allocate()
2020-02-27 07:24:33 +00:00
Kevin Klues
bc686ea27b
Update TopologyManager.GetTopologyHints() to take pointers
...
Previously, this function was taking full Pod and Container objects
unnecessarily. This commit updates this so that they will take pointers
instead.
2020-02-03 17:13:28 +00:00
whypro
f4bd4e2e96
Return error instead of panic when cpu manager starts failed.
2019-12-19 21:56:23 +08:00
Kevin Klues
185e790f71
Update CPUManager policies to adhere to new state semantics
2019-12-11 23:02:51 +01:00
Connor Doyle
389853894d
Delegate topology hint gen to CPU manager policy
...
- The previous implementation depended on a fixed set of policies.
2019-09-27 22:29:02 -07:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05: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
Seth Jennings
ff471913f9
Added none policy for CPU manager.
2017-08-30 08:26:21 -07:00