diff options
| author | Kubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com> | 2020-02-04 07:11:26 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-04 07:11:26 -0800 |
| commit | bdbb3b82993c66282bbffeba332f4bd592aa1f86 (patch) | |
| tree | eee83e9f707aa700b2beca1b28457fe871e1f3cb /contributors/design-proposals | |
| parent | f4c97d8cb769d50933210d4f491546f00452966f (diff) | |
| parent | e1cb6f1436a67dd01f1858b880d57b62a2667ae0 (diff) | |
Merge pull request #4196 from gaorong/eviction-daemonset
remove the daemonset specific exception
Diffstat (limited to 'contributors/design-proposals')
| -rw-r--r-- | contributors/design-proposals/node/kubelet-eviction.md | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/contributors/design-proposals/node/kubelet-eviction.md b/contributors/design-proposals/node/kubelet-eviction.md index 5a61b1ab..51fa9203 100644 --- a/contributors/design-proposals/node/kubelet-eviction.md +++ b/contributors/design-proposals/node/kubelet-eviction.md @@ -456,16 +456,7 @@ placing **any** new pods on the node since they will be rejected by the `kubelet ### DaemonSet -It is never desired for a `kubelet` to evict a pod that was derived from -a `DaemonSet` since the pod will immediately be recreated and rescheduled -back to the same node. - -At the moment, the `kubelet` has no ability to distinguish a pod created -from `DaemonSet` versus any other object. If/when that information is -available, the `kubelet` could pro-actively filter those pods from the -candidate set of pods provided to the eviction strategy. - -In general, it should be strongly recommended that `DaemonSet` not -create `BestEffort` pods to avoid being identified as a candidate pod -for eviction. Instead `DaemonSet` should ideally include Guaranteed pods only. - +As `Priority` is a key factor in the eviction strategy, if you do not want +pods belonging to a `DaemonSet` to be evicted, specify a sufficiently high priorityClass +in the pod spec template. If you want pods belonging to a `DaemonSet` to run only if +there are sufficient resources, specify a lower or default priorityClass.
\ No newline at end of file |
