kubernetes-sigs / descheduler

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

status.phase=Unknown not available in 1.29 release #1394

Closed BiancaTofan closed 1 month ago

BiancaTofan commented 1 month ago

Hello,

I want to define in my descheduler policy state = unknown but I cannot since in ProfileName is the following defined list : [Running Pending PodInitializing ContainerCreating ImagePullBackOff]. As the podlifetime plugin already exist, can you please add also the unknown string? It can be useful for clusters which have many pods in unknown state to be evicted.

Thank you in advance!

yuzhiquantubi commented 1 month ago

I think it's already supported in pod life time plugin https://github.com/kubernetes-sigs/descheduler/blob/master/pkg/framework/plugins/podlifetime/validation.go#L50

BiancaTofan commented 1 month ago

in 1.29 release there is no unknown phase defined : https://github.com/kubernetes-sigs/descheduler/blob/release-1.29/pkg/framework/plugins/podlifetime/validation.go

a7i commented 1 month ago

That's correct, it's going to land in 1.30

https://github.com/kubernetes-sigs/descheduler/pull/1330

a7i commented 1 month ago

/remove-kind feature /kind support

BiancaTofan commented 1 month ago

do you have any estimated date for when the version 1.30 will be released?

a7i commented 1 month ago

We're currently blocked on kind image version 1.30 being published, which is being discussed here: https://github.com/kubernetes-sigs/descheduler/issues/1391

We are working to expedite this and hopefully cut a release in the next few days

a7i commented 1 month ago

@BiancaTofan v0.30.0 has been released.

/close

k8s-ci-robot commented 1 month ago

@a7i: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/descheduler/issues/1394#issuecomment-2120546701): >@BiancaTofan v0.30.0 has been released. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.