kubernetes-sigs / descheduler

Descheduler for Kubernetes
https://sigs.k8s.io/descheduler
Apache License 2.0
4.23k stars 645 forks source link

Single node clusters support #1347

Open pablo-suazo opened 5 months ago

pablo-suazo commented 5 months ago

I would like to use descheduler in a single node kubernetes cluster.

It is useful to me to automatically delete pods with too many restart or failed pods.

It is possible to overrride this check in any way?

if len(nodes) <= 1 { klog.V(1).InfoS("The cluster size is 0 or 1 meaning eviction causes service disruption or degradation. So aborting..") return fmt.Errorf("the cluster size is 0 or 1") }

a7i commented 4 months ago

/assign

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

vaibhav2107 commented 3 weeks ago

/remove-lifecycle stale

larryrensing commented 3 weeks ago

any movement on this? it would be great to have!