-
Resource utilization: Increased resource pressure raises the overhead for running applications.
-
Node maintenance: A higher number of containers on a node increases resource consumption and maintenance costs.
The profile enables the LowNodeUtilization
strategy with the EvictionsInBackground
alpha feature. The profile also exposes the following customization fields:
-
devActualUtilizationProfile
: Enables load-aware descheduling. -
devLowNodeUtilizationThresholds
: Sets experimental thresholds for theLowNodeUtilization
strategy. Do not use this field withdevDeviationThresholds
. -
devDeviationThresholds
: Treats nodes with below-average resource usage as underutilized to help redistribute workloads from overutilized nodes. Do not use this field withdevLowNodeUtilizationThresholds
. Supported values are:Low
(10%:10%),Medium
(20%:20%),High
(30%:30%),AsymmetricLow
(0%:10%),AsymmetricMedium
(0%:20%),AsymmetricHigh
(0%:30%). -
devEnableSoftTainter
: Enables the soft-tainting component to dynamically apply or remove soft taints as scheduling hints.
apiVersion: operator.openshift.io/v1
kind: KubeDescheduler
metadata:
name: cluster
namespace: openshift-kube-descheduler-operator
spec:
managementState: Managed
deschedulingIntervalSeconds: 30
mode: "Automatic"
profiles:
- KubeVirtRelieveAndMigrate
profileCustomizations:
devEnableSoftTainter: true
devDeviationThresholds: AsymmetricLow
devActualUtilizationProfile: PrometheusCPUCombined
The KubeVirtRelieveAndMigrate
profile requires PSI metrics to be enabled on all worker nodes. You can enable this by applying the following MachineConfig
custom resource (CR):
MachineConfig
CRapiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: worker
name: 99-openshift-machineconfig-worker-psi-karg
spec:
kernelArguments:
- psi=1
The name of the |
You can use this profile with the SoftTopologyAndDuplicates
profile to also rebalance pods based on soft topology constraints, which can be useful in hosted control plane environments.
LongLifecycle
-
This profile balances resource usage between nodes and enables the following strategies: