Skip to content

Commit 4c12af5

Browse files
authored
Merge pull request kubernetes#1631 from dashpole/pid_update
Add pod-level process stats to the summary API for out-of-pid eviction
2 parents f156113 + cd703f3 commit 4c12af5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

keps/sig-node/20190129-pid-limiting.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,28 @@ GA
159159

160160
Adding support for pid limiting at the Node Allocatable level
161161

162+
Eviction will rank based on priority, followed by the number of processes used.
163+
To integrate this into the eviction manager's control loops, we will add pod-level
164+
ProcessStats:
165+
166+
```golang
167+
// ProcessStats are stats pertaining to processes.
168+
type ProcessStats struct {
169+
// Number of processes
170+
// +optional
171+
ProcessCount *uint64 `json:"process_count,omitempty"`
172+
}
173+
174+
// PodStats holds pod-level unprocessed sample stats.
175+
type PodStats struct { type PodStats struct {
176+
...
177+
// ProcessStats pertaining to processes.
178+
// +optional
179+
ProcessStats *ProcessStats `json:"process_stats,omitempty"`
180+
}
181+
```
182+
183+
162184
The following criteria applies to `SupportNodePidsLimit`:
163185
164186
Alpha

0 commit comments

Comments
 (0)