Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eviction in version "v1" cannot be handled as a Eviction #977

Closed
dry4ng opened this issue Oct 10, 2022 · 2 comments
Closed

Eviction in version "v1" cannot be handled as a Eviction #977

dry4ng opened this issue Oct 10, 2022 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@dry4ng
Copy link

dry4ng commented Oct 10, 2022

What version of descheduler are you using?

descheduler version: 1.25

Does this issue reproduce with the latest release?

yes

Which descheduler CLI options are you using?

none

Please provide a copy of your descheduler policy config file

  strategies:
    RemoveDuplicates:
      enabled: false
    RemovePodsViolatingNodeTaints:
      enabled: false
    RemovePodsViolatingNodeAffinity:
      enabled: false      
    RemovePodsViolatingInterPodAntiAffinity:
      enabled: false
    LowNodeUtilization:
      enabled: false
    RemovePodsViolatingTopologySpreadConstraint:
      enabled: true
      params:
        includeSoftConstraints: true

What k8s version are you using (kubectl version)?

1.21 (GKE)

What did you do?

I have upgraded to v1.25 and started seeing these errors with every descheduler run:

E1010 18:10:02.963839       1 evictions.go:141] "Error evicting pod" err="Eviction in version \"v1\" cannot be handled as a Eviction: no kind \"Eviction\" is registered for version \"policy/v1\" in scheme \"k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30\"" pod="prod/my-pod-name" reason=""
@dry4ng dry4ng added the kind/bug Categorizes issue or PR as related to a bug. label Oct 10, 2022
@damemi
Copy link
Contributor

damemi commented Oct 10, 2022

Hi @dry4ng, this is the same error as in #972 (comment), please see that comment.

tl;dr is that descheduler v0.25 is not supported on k8s 1.21, the latest descheduler version you can use is v0.23
/close
(closing as duplicate)

@k8s-ci-robot
Copy link
Contributor

@damemi: Closing this issue.

In response to this:

Hi @dry4ng, this is the same error as in #972 (comment), please see that comment.

tl;dr is that descheduler v0.25 is not supported on k8s 1.21, the latest descheduler version you can use is v0.23
/close
(closing as duplicate)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants