Kubernetes Prow Robot
d90dd93855
Merge pull request #82111 from xieyanker/xieyanker-patch-2
...
remove stateCheckPeriod
2020-02-05 04:17:55 -08:00
Kubernetes Prow Robot
7e5bfe4417
Merge pull request #85472 from dcbw/kubelet-network-approvers
...
kubelet/network: add sig-network-approvers to OWNERS
2020-02-01 12:55:19 -08:00
Kubernetes Prow Robot
1baceba376
Merge pull request #87394 from mattjmcnaughton/mattjmcnaughton/delete-sysctl-runtime-admit-handler
...
Delete the sysctl runtime admit handler
2020-01-30 21:20:45 -08:00
Kubernetes Prow Robot
7164152844
Merge pull request #87664 from liggitt/revert-parallel-volume
...
Revert "Merge pull request #87258 from verult/slow-rxm-attach"
2020-01-29 22:12:01 -08:00
Kubernetes Prow Robot
ec3fc59f1b
Merge pull request #87627 from tallclair/rc-metrics
...
Register RunPodSandbox* metrics
2020-01-29 22:11:25 -08:00
Jordan Liggitt
cd1059e3c4
Revert "Merge pull request #87258 from verult/slow-rxm-attach"
...
This reverts commit 15c3f1b119 , reversing
changes made to 52d7614a8c .
2020-01-29 14:58:32 -05:00
Mike Danese
d55d6175f8
refactor
2020-01-29 08:50:45 -08:00
Kubernetes Prow Robot
649391af22
Merge pull request #84154 from ohsewon/hugepage_per_container
...
Implement support for setting hugepages limit on container cgroup sandbox.
2020-01-29 07:32:14 -08:00
Tim Allclair
43c7f3be29
Register RunPodSandbox* metrics
2020-01-28 13:26:11 -08:00
Kubernetes Prow Robot
15c3f1b119
Merge pull request #87258 from verult/slow-rxm-attach
...
Parallelize attach operations across different nodes for volumes that allow multi-attach
2020-01-28 08:33:41 -08:00
sewon.oh
463442aa29
Update container hugepage limit when creating the container
...
Unit test for updating container hugepage limit
Add warning message about ignoring case.
Update error handling about hugepage size requirements
Signed-off-by: sewon.oh <sewon.oh@samsung.com >
2020-01-28 09:35:02 +09:00
Cheng Xing
c6a03fa5be
Parallelize attach operations across different nodes for volumes that allow multi-attach
2020-01-27 15:02:25 -08:00
Jiahui Feng
b2bb3dfb59
add logging before kubelet waiting for cert
...
during bootstrapping.
2020-01-27 10:12:36 -08:00
Kubernetes Prow Robot
98f63eee1b
Merge pull request #87460 from nolancon/policies_refactor
...
Refactor Topology Manager policies to reduce code duplication
2020-01-24 21:11:15 -08:00
mattjmcnaughton
9e1c99c4e2
Delete the sysctl runtime admit handler
...
As of https://github.com/kubernetes/kubernetes/pull/72831 , the minimum
docker version is 1.13.1. (and the minimum API version is 1.26). The
only time the `RuntimeAdmitHandler` returns anything other than accept
is when the Docker API version < 1.24. In other words, we can be
confident that Docker will always support sysctl.
As a result, we can delete this unnecessary and docker-specific code.
2020-01-22 08:51:39 -05:00
nolancon
4d76b1c8de
Add mergeFilteredHints:
...
- Move remaining logic from mergeProvidersHints to generic top level
mergeFilteredHints function.
- Add numaNodes as parameter in order to make generic.
- Move single NUMA node specific check to single-numa-node Merge
function.
2020-01-22 09:07:41 +00:00
nolancon
fc300e0e7d
Move filterSingleNumaHints call to top level Merge
2020-01-22 08:39:22 +00:00
nolancon
45660fd3a2
Add filterProvidersHints function:
...
- Move initial 'filtering' functionality to generic function
filterProvidersHints level policy.go.
- Call new function from top level Merge function.
- Rename some variables/parameters to reflect changes.
2020-01-22 08:35:28 +00:00
nolancon
df9b2595f3
Update filterHints to filterSingleNumaHints:
...
- Change function name
- Remove policy parameter (unnecessary)
- Update unit test to reflect change
2020-01-22 07:15:00 +00:00
Wei Huang
3f8b202266
Move GeneralPredicates logic to kubelet.
2020-01-21 09:27:00 -08:00
Kubernetes Prow Robot
9822016bf8
Merge pull request #87397 from klueska/upstream-cpu-manager-set-initial-containers
...
Initialize CPUManager containerMap to set of initial containers
2020-01-20 17:39:50 -08:00
Kubernetes Prow Robot
e6b5194ec1
Merge pull request #84300 from klueska/upstream-cpu-manager-reconcile-on-container-state
...
Update logic in `CPUManager` `reconcileState()`
2020-01-20 12:27:37 -08:00
Kevin Klues
bd9d8fa42f
Initialize CPUManager containerMap to set of initial containers
...
A recent change made it so that the CPUManager receives a list of
initial containers that exist on the system at startup. This list can be
non-empty, for example, after a kubelet retart.
This commit ensures that the CPUManagers containerMap structure is
initialized with the containers from this list.
2020-01-20 20:42:29 +01:00
Kubernetes Prow Robot
37ee6425ef
Merge pull request #87255 from klueska/upstream-remove-redundant-active-pods-check
...
Remove check for empty activePods list in CPUManager removeStaleState
2020-01-20 09:05:50 -08:00
Kubernetes Prow Robot
23fa359d6c
Merge pull request #84705 from whypro/cpumanager-panic-master
...
Return error instead of panic when cpu manager fails on startup.
2020-01-20 07:25:37 -08:00
Kevin Klues
7be9b0fe55
Update comments and error messages in the CPUManager
2020-01-20 15:31:01 +01:00
Kevin Klues
f2acbf6607
Base CPUManager state reconciliation on container state, not pod state
2020-01-20 13:57:30 +00:00
Kevin Klues
f6cf9b8ce9
Move CPUManager Pod Status logic before container loop
2020-01-20 13:57:30 +00:00
Davanum Srinivas
b3853138a4
update generated files
2020-01-17 11:23:53 -05:00
Kubernetes Prow Robot
50f9ea7999
Merge pull request #85798 from nolancon/merge-policy-rebase
...
Updated - topologymanager: Add Merge method to Policy
2020-01-17 05:14:56 -08:00
Kubernetes Prow Robot
9701baea0f
Merge pull request #87283 from klueska/update-printing-for-tm-bitmask
...
Update bitmask printing to print in groups of 2 instead of all 64 bits
2020-01-16 12:04:32 -08:00
Kevin Klues
708278098a
Update bitmask printing to print in groups of 2 instead of all 64 bits
2020-01-16 17:28:52 +01:00
Kevin Klues
7069b1d6e8
Update TopologyManager single-numa-node logic to handle "don't cares"
...
The logic has been updated to match the logic of the best-effort policy
except in two places:
1) The hint filtering frunction has been updated to allow "don't care"
hints encoded with a `nil` affinity mask, to pass through the filter in
addition to hints that have just a single NUMA bit set.
2) After calculating the `bestHint` we transform "don't care" affinities
encoded as having all NUMA bits set in their affinity masks into "don't
care" affinities encoded as `nil`.
2020-01-16 08:50:35 +00:00
Kevin Klues
2905ffffa7
Rename TopologyManager test TestPolicyBestEffortMerge for consistency
2020-01-16 08:50:21 +00:00
Kevin Klues
94489c137c
Cleanup use of defaultAffinity in mergePermutation of TopologyManager
2020-01-16 08:50:12 +00:00
nolancon
5e23517ebf
Use reflect.DeepEqual check in policy_test.go
2020-01-16 08:13:07 +00:00
nolancon
92eb7cd601
Update "Single NUMA hint generation" expected affinity to nil
2020-01-16 08:13:07 +00:00
nolancon
8b3f6e61a2
Move test case "Two providers, 1 with 2 hints, 1 with single
...
non-preferred hint matching" into specific policy tests
2020-01-16 08:13:07 +00:00
nolancon
681c42bfc2
Move test case "Two providers, 1 hint each, same mask, 1 preferred, 1
...
not 2/2" into specific policy tests
2020-01-16 08:13:07 +00:00
nolancon
a38a2562b2
Move test case "Two providers, 1 hint each, same mask, 1 preferred, 1
...
not 1/2" into specific policy test.
2020-01-16 08:13:07 +00:00
nolancon
f639da7637
Move test case "Two providers, 1 hint each, no common mask" into
...
specific policy tests.
2020-01-16 08:13:07 +00:00
nolancon
401a2bb285
Move test case "Single TopologyHint with Preferred as false and
...
NUMANodeAffinity as nil" into specific policy tests.
2020-01-16 08:13:06 +00:00
nolancon
6460ef6392
Move test case "Single TopologyHint with Preferred as true and
...
NUMANodeAffinity as nil" into specific policy tests.
2020-01-16 08:13:06 +00:00
nolancon
baeff9ec5d
Move test case "HintProvider returns empty non-nil map[string][]TopologyHint from
...
provider" into specific policy tests.
2020-01-16 08:13:06 +00:00
nolancon
599217d482
Move test case "HintProvider returns -nil map[string][]TopologyHint from provider" into specific policy tests
2020-01-16 08:13:06 +00:00
nolancon
57661ee946
Move test case 'HintProvider returns empty non-nil map[string][]TopologyHint' into specific policy tests.
2020-01-16 08:13:06 +00:00
nolancon
51f1af0395
Move test case 'TopologyHint not set' into individual policy tests
2020-01-16 08:13:06 +00:00
nolancon
8466a5852a
Restore policy_test.go to upstream
...
Following commits will contain incremental changes to this file to ease
review process and ensure all tests are accounted for.
2020-01-16 08:13:06 +00:00
nolancon
59bb6c4d6f
Update checks in mergeProvidersHints:
...
- Initialize best Hint to TopologyHint{}
- Update checks.
- Move generic unit test case into policy specific tests and updated
expected outcome to reflect changes.
2020-01-16 08:13:06 +00:00
nolancon
6758f95117
Restore original policy none test cases:
...
Mistakenly overwritten in earlier commit
2020-01-16 08:13:06 +00:00