Kubernetes Prow Robot
c64f81d082
Merge pull request #78653 from sjenning/add-sjenning-owners
...
kubelet: add sjenning to kubelet subdirectory owners files
2019-06-25 14:47:15 -07:00
nolancon
2d7ac702d6
Add Policy None for Topology Manager
...
Update naming of test functions.
2019-06-25 03:24:31 +01:00
rafatio
08c258add9
Ignore cgroup pid support if related feature gates are disabled
2019-06-15 18:45:27 -03:00
Kubernetes Prow Robot
d30fbab4b8
Merge pull request #77915 from SataQiu/fix-golint-util-20190515
...
Fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system
2019-06-14 00:29:00 -07:00
mattjmcnaughton
5539e61032
Fix reserved cgroup systemd
...
Fix an issue in which, when trying to specify the `--kube-reserved-cgroup`
(or `--system-reserved-cgroup`) with `--cgroup-driver=systemd`, we will
not properly convert the `systemd` cgroup name into the internal cgroup
name that k8s expects. Without this change, specifying
`--kube-reserved-cgroup=/test.slice --cgroup-driver=systemd` will fail,
and only `--kube-reserved-cgroup=/test --crgroup-driver=systemd` will succeed,
even if the actual cgroup existing on the host is `/test.slice`.
Additionally, add light unit testing of our process from converting to a
systemd cgroup name to kubernetes internal cgroup name.
2019-06-07 10:48:42 -04:00
Seth Jennings
89dc2c65e4
kubelet: add sjenning to kubelet subdirectory owners files
2019-06-03 08:26:24 -05:00
Alexander Kanevskiy
89481f8c27
Use go standard library for common bit operations
...
PR#72913 introduced own versions of the bit operations that are
less efficient than ones from standard library.
2019-06-01 19:54:38 +03:00
Kubernetes Prow Robot
9ac58bae56
Merge pull request #78515 from klueska/upstream-socketmask-updates
...
Updates to the SocketMask abstraction for the TopologyManager
2019-06-01 09:50:16 -07:00
Kubernetes Prow Robot
46c74629cf
Merge pull request #78516 from klueska/upstream-topology-manager-interface-updates
...
Update the TopologyManager interfaces
2019-06-01 08:00:19 -07:00
Kubernetes Prow Robot
fe37733a12
Merge pull request #73891 from taragu/plugin-manager
...
Add kubelet plugin manager
2019-05-31 07:12:29 -07:00
Kubernetes Prow Robot
f49fe2a750
Merge pull request #72787 from dashpole/cadvisor_prefix_whitelist
...
Only collect metrics for cgroups required by the summary API
2019-05-31 00:28:26 -07:00
Ted Yu
1a755d13a6
Remove unnecessary string()
2019-05-30 19:48:26 -07:00
Tara Gu
5e18554442
Implement plugin manager - a controller that manages plugin registration/unregistration
2019-05-30 19:00:59 -04:00
Kevin Klues
0a43d21c26
Add IsNarrowerThan() function to socketmask abstraction
2019-05-30 06:00:22 -07:00
Kevin Klues
617a1fa394
Update the TopologyManager interfaces
...
These updates are based on discussions had about the preferred semantics
of the TopologyManager and will be reflected in changes to an upcoming
PR that adds the actual TopologyManager implementation.
2019-05-30 05:52:11 -07:00
Kevin Klues
cdb59d3c7a
Fix incorrect names for tests in socketmask
2019-05-30 04:16:53 -07:00
nolancon
0244c0e658
remove dependency on implementation from policy preferred and strict
...
update build
2019-05-30 05:57:39 +01:00
nolancon
ef9baf313d
Update unit tests for TopologyHints - Topology Manager Policies
2019-05-30 05:44:01 +01:00
nolancon
e82fa41fb2
More Intuitive TopologyHints - topology manager policies
2019-05-30 05:44:01 +01:00
Sreemanti Ghosh
4e503597b8
Unit test for Topology Manager policy_strict and policy_preferred
2019-05-30 05:44:01 +01:00
nolancon
eff568e496
Add Policies Strict and Preferred for Topology Manager
2019-05-30 05:44:01 +01:00
Ted Yu
c46ec66a1f
Avoid unnecessary concatenation of errors
2019-05-29 17:25:53 -07:00
lmdaly
c1a4457573
Update Bazel files to include SocketMask
2019-05-29 02:21:51 +01:00
Conor Nolan
d99bac12e6
Update Remove/AddPod to Container ( #26 )
...
More intuitive TopologyHints
2019-05-29 02:11:15 +01:00
lmdaly
e64c558a11
Added BUILD files and updates to Boilerplates
2019-05-29 02:11:15 +01:00
lmdaly
71bbc6d538
Add Topology Manager Interfaces
...
*Topology Manager
*Policy
2019-05-29 02:10:46 +01:00
Kubernetes Prow Robot
3b4473f45a
Merge pull request #72913 from nolancon/topology-manager-socket-mask
...
Add Socket Mask for Topology Manager
2019-05-28 10:58:41 -07:00
nolancon
b7f6b8f8f1
Updated unit test for socketmask
2019-05-28 05:00:04 +01:00
nolancon
283dff9335
Update SocketMask based on feedback
...
TODO: Unit tests to be updated
2019-05-27 07:19:03 +01:00
Richard Chen
c9f1b57b5b
Reset extended resources only when node is recreated.
2019-05-21 14:16:54 -07:00
Kubernetes Prow Robot
e476a60ccb
Merge pull request #73241 from vikaschoudhary16/selinux-label
...
Add correct selinux label at plugin socket directory
2019-05-20 11:07:17 -07:00
vikaschoudhary16
58d1b4d564
Add correct selinux label at plugin socket directory
2019-05-18 12:35:17 +05:30
Kubernetes Prow Robot
3c02a38fdc
Merge pull request #77609 from tedyu/union-all-test
...
Add test for CPUSet#UnionAll
2019-05-16 20:39:26 -07:00
Kubernetes Prow Robot
b276043051
Merge pull request #77421 from tedyu/cpu-free-no-sort
...
Obtain unsorted slice in cpuAccumulator#freeCores
2019-05-16 16:26:53 -07:00
Ted Yu
52f797188f
Add test for CPUSet#UnionAll
...
Signed-off-by: Ted Yu <yute@vmware.com >
2019-05-16 12:13:33 -07:00
SataQiu
b36d8d431f
fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system
2019-05-15 23:19:47 +08:00
nolancon
e8566caa3f
Update to unit test and comment bug fixed
2019-05-13 06:41:44 +01:00
David Ashpole
f8dff6bd5b
only collect metrics for cgroups required by the summary API
2019-05-10 12:12:41 -07:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
nolancon
7c525ffaa8
More intuitive TopologyHints - socketmask.go
2019-05-08 04:22:39 +01:00
Kubernetes Prow Robot
b4211dea98
Merge pull request #77422 from tedyu/policy-set-union
...
Union all CPUSets in one round
2019-05-06 14:02:05 -07:00
Ted Yu
e967c37068
Union all CPUSets in one round
2019-05-03 14:40:33 -07:00
Ted Yu
f83bac61a4
Obtain unsorted slice in cpuAccumulator#freeCores
2019-05-03 14:07:47 -07:00
Ted Yu
89c8a91c0f
Check error return from Update
...
Signed-off-by: Ted Yu <yute@vmware.com >
2019-05-02 09:56:40 -07:00
Kubernetes Prow Robot
98c4c1e2d8
Merge pull request #77291 from tedyu/cpu-pod-stat
...
Query pod status outside loop over containers
2019-05-01 23:28:56 -07:00
Kubernetes Prow Robot
a5a70b4de3
Merge pull request #74859 from ahadas/static_policy
...
kubelet/cm: code optimization for the static policy
2019-05-01 23:28:19 -07:00
Ted Yu
3fc16a7e82
Log pod name when pod status cannot be queried
2019-05-01 15:01:56 -07:00
Ted Yu
66ce52578a
Query pod status outside loop over containers
2019-04-30 19:35:32 -07:00
Kevin Klues
ef27f5f1a5
Add ability to find init Container IDs in cpumanager reconcileState()
...
The cpumanager loops through all init Containers and app Containers when
reconciling its state. However, the current implementation of
findContainerIDByName(), which is call by the reconciler, does not
resolve for init Containers.
This patch updates findContainerIDByName() to account for init
Containers and adds a regression test that fails before the change and
succeeds after.
2019-04-27 06:18:55 -07:00
WanLinghao
62d8081eda
Fix a log info error
2019-03-29 13:27:10 +08:00