Bug 2124930 - Descheduler mode needs to be specified
Summary: Descheduler mode needs to be specified
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Documentation
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Sabrina Jess
QA Contact: Roni Kishner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-07 13:51 UTC by Sarah Bennert
Modified: 2023-03-13 20:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-13 20:55:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-21088 0 None None None 2023-01-27 15:01:18 UTC

Description Sarah Bennert 2022-09-07 13:51:16 UTC
Document URL: 

[0] https://github.com/openshift/openshift-docs/blob/98910ac48a471d595114152e41a497a49db52de0/modules/virt-enabling-descheduler-evictions.adoc

[1] https://github.com/openshift/openshift-docs/blob/31bac1ebc3e5395a84b0c345b7db0d5bb363d4e3/modules/nodes-descheduler-configuring-profiles.adoc

Section Number and Name: 
Enabling descheduler evictions on a virtual machine (VM) [0]
Configuring descheduler profiles [1]

Describe the issue: 

As of 4.11, Descheduler added a 'mode' to the spec, which is defaulted to 'Predictive' which does not evict pods. In order for the descheduler to evict, this must be set to 'Automatic'

Suggestions for improvement: 

Additional information:

Comment 2 Avital Pinnick 2022-10-25 13:23:07 UTC
Dominik, can you provide an example of the 4.11 KubeDescheduler manifest?

Comment 3 Sarah Bennert 2022-10-25 14:00:28 UTC
Hi Avital, this is a minimal implementation using a single profile. If used for VMs, profile should be 'DevPreviewLongLifecycle'

apiVersion: operator.openshift.io/v1
kind: KubeDescheduler
metadata:
  name: cluster
  namespace: openshift-kube-descheduler-operator
spec:
  deschedulingIntervalSeconds: 3600
  logLevel: Normal
  managementState: Managed
  operatorLogLevel: Normal
  mode: Automatic
  profiles:
  - AffinityAndTaints


Note You need to log in before you can comment on or make changes to this bug.