David Ashpole
960856f4e8
collect metrics on the /kubepods cgroup on-demand
2018-02-17 12:32:40 -08:00
David Ashpole
e0830d0b71
reevaluate eviction thresholds after reclaim functions
2018-02-16 08:35:24 -08:00
David Ashpole
8b3bd5ae60
take disk requests into account during evictions
2017-11-21 10:21:30 -08:00
David Ashpole
527611ee41
remove disk allocatable evictions
2017-11-18 10:34:59 -08:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
David Ashpole
539fddb49d
kubelet evictions take priority into account
2017-10-12 13:15:05 -07:00
David Ashpole
8659676408
feature gate local storage allocatable eviction
2017-10-11 09:53:56 -07:00
Jing Xu
8f98230f20
Map a resource to multiple signals in eviction manager
...
It is possible to have multiple signals that point to the same type of
resource, e.g., both SignalNodeFsAvailable and
SignalAllocatableNodeFsAvailable refer to the same resource NodeFs.
Change the map from map[v1.ResourceName]evictionapi.Signal to
map[v1.ResourceName][]evictionapi.Signal
2017-09-01 12:54:37 -07:00
Kubernetes Submit Queue
9350afd772
Merge pull request #48976 from supereagle/cleanup-api-package
...
Automatic merge from submit-queue (batch tested with PRs 48976, 49474, 40050, 49426, 49430)
Remove duplicated import and wrong alias name of api package
**What this PR does / why we need it**:
**Which issue this PR fixes**: fixes #48975
**Special notes for your reviewer**:
/assign @caesarxuchao
**Release note**:
```release-note
NONE
```
2017-07-25 12:14:38 -07:00
supereagle
adc0eef43e
remove duplicated import and wrong alias name of api package
2017-07-25 10:04:25 +08:00
Jing Xu
bb1920edcc
Fix issues for local storage allocatable feature
...
This PR fixes the following issues:
1. Use ResourceStorageScratch instead of ResourceStorage API to represent
local storage capacity
2. In eviction manager, use container manager instead of node provider
(kubelet) to retrieve the node capacity and reserved resources. Node
provider (kubelet) has a feature gate so that storagescratch information
may not be exposed if feature gate is not set. On the other hand,
container manager has all the capacity and allocatable resource
information.
2017-07-13 12:06:19 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f2d3220a11
run root-rewrite-import-client-go-api-types
2017-06-22 11:30:59 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
David Ashpole
889afa5e2d
trigger aggressive container garbage collection when under disk pressure
2017-06-03 07:52:36 -07:00
Clayton Coleman
3e095d12b4
Refactor move of client-go/util/clock to apimachinery
2017-05-20 14:19:48 -04:00
Michael Taufen
cbad320205
Reorganize kubelet tree so apis can be independently versioned
2017-05-12 10:02:33 -07:00
David Ashpole
ac612eab8e
eviction manager changes for allocatable
2017-03-02 07:36:24 -08:00
Vishnu Kannan
cc5f5474d5
add support for node allocatable phase 2 to kubelet
...
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
2017-02-27 21:24:44 -08:00
Vishnu kannan
26f9598279
admit critical pods under resource pressure\n evict critical pods that are not static
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2017-02-19 19:19:09 -08:00
Vishnu Kannan
c967ab7b99
Avoid evicting critical pods in Kubelet if a special feature gate is enabled
...
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
2017-02-02 11:32:20 -08:00
Vishnu Kannan
ffd7dda234
Revert "Kubelet admits critical pods even under memory pressure"
...
This reverts commit afd676d94c
.
2017-02-02 10:41:24 -08:00
deads2k
a106d9f848
switch kubelet to use external (client-go) object references for events
2017-01-31 19:15:33 -05:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
Dr. Stefan Schimanski
bc6fdd925d
pkg/api/resource: move to apimachinery
2017-01-29 21:41:44 +01:00
deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
deads2k
c47717134b
move utils used in restclient to client-go
2017-01-19 07:55:14 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
bprashanth
afd676d94c
Kubelet admits critical pods even under memory pressure
2016-12-15 18:58:09 -08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
Kubernetes Submit Queue
6515e3573e
Merge pull request #34818 from nebril/eviction-test-cleanup
...
Automatic merge from submit-queue
Cleanup kubelet eviction manager tests
It cleans up kubelet eviction manager tests
Extracted parts of tests that were similar to each other to functions
2016-11-09 02:36:46 -08:00
David Ashpole
9aca40dee6
revert #33218 . dont need #36180 . We only use diskpressure
2016-11-04 08:29:27 -07:00
Maciej Kwiek
3b5064740e
Cleanup kubelect eviction manager tests
...
Extracted parts of tests that were similar to each other to functions
2016-11-02 10:31:59 +01:00
David Ashpole
b8fc546d60
eviction manager ecivts pod using the most inodes.
2016-10-31 11:32:49 -07:00
Kubernetes Submit Queue
07eba4c6ef
Merge pull request #33392 from sjenning/min-reclaim-percent
...
Automatic merge from submit-queue
kubelet: eviction: allow minimum reclaim as percentage
Fixes #33354
xref #32537
**Release note**:
```release-note
The kubelet --eviction-minimum-reclaim option can now take precentages as well as absolute values for resources quantities
```
@derekwaynecarr @vishh @mtaufen
2016-10-06 09:25:46 -07:00
David Ashpole
0c8a664e50
addressed comments
2016-10-03 11:42:56 -07:00
David Ashpole
fed3f37eef
Split NodeDiskPressure into NodeInodePressure and NodeDiskPressure
2016-10-03 11:42:56 -07:00
Seth Jennings
f52dce9319
kubelet: eviction: allow minreclaim as percentage
2016-09-30 11:12:36 -05:00
derekwaynecarr
a65a24a850
kubelet eviction on inode exhaustion
2016-08-17 16:57:44 -04:00
bindata-mockuser
d2dd03aecc
Support percentage representation for eviction thresholds
2016-08-11 14:10:25 -07:00
derekwaynecarr
68bc47ecc6
Add support to invoke image gc in response to disk eviction thresholds
2016-08-04 17:13:08 -04:00
derekwaynecarr
611c127f0d
kubelet eviction manager support for min-reclaim
2016-08-04 11:17:44 -04:00
derekwaynecarr
d37710f87b
Allow cAdvisor to collect fs stats before building resource ranking funcs
2016-07-28 16:20:09 -04:00
derekwaynecarr
c3324b88a0
Eviction manager observes and acts on disk pressure
2016-07-28 16:01:38 -04:00
Harry Zhang
cb14b35bde
Refactor util clock into it's own pkg
2016-07-28 02:29:04 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Tim St. Clair
f2f3caf744
Rename **/manager.go
2016-06-21 15:11:31 -07:00