The module lifecycle stage: Generally available version
The module has requirements for installation
Deckhouse Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.
Descheduler
Scope: Cluster
-
stringapiVersion
-
stringkind
-
objectmetadata
-
stringmetadata.name
-
-
objectspecDefines the behavior of a descheduler instance.
-
booleanspec.evictLocalStoragePods
Allows evicting pods that use local storage:
emptyDirorhostPathvolumes.Without this parameter, a Descheduler does not process pods of virtual machines.
Default:
false -
objectspec.namespaceLabelSelectorLimits the processed pods by the labels of their namespaces.
-
array of objectsspec.namespaceLabelSelector.matchExpressionsList of label expressions that a namespace must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.namespaceLabelSelector.matchExpressions.keyLabel name.
-
stringspec.namespaceLabelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.namespaceLabelSelector.matchExpressions.valuesLabel values.
-
stringspec.namespaceLabelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.namespaceLabelSelector.matchLabelsLabels that a namespace must have.
-
-
objectspec.nodeLabelSelectorSelects by label the nodes that Descheduler checks for pod fit before eviction. A pod on a node outside the selector can still be evicted if it fits on a selected node and passes the other eviction checks.
-
array of objectsspec.nodeLabelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.nodeLabelSelector.matchExpressions.keyLabel name.
-
stringspec.nodeLabelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.nodeLabelSelector.matchExpressions.valuesLabel values.
-
stringspec.nodeLabelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.nodeLabelSelector.matchLabelsLabels that a node must have.
-
-
objectspec.podLabelSelectorLimits the processed pods by labels.
-
array of objectsspec.podLabelSelector.matchExpressionsList of label expressions that a pod must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.podLabelSelector.matchExpressions.keyLabel name.
-
stringspec.podLabelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.podLabelSelector.matchExpressions.valuesLabel values.
-
stringspec.podLabelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.podLabelSelector.matchLabelsLabels that a pod must have.
-
-
objectspec.priorityClassThreshold
Limits the processed pods by priority class.
Only the pods whose priority is lower than the threshold can be evicted.
You can specify either the name of the priority class (priorityClassThreshold.name), or the actual value of the priority class (priorityClassThreshold.value).
By default, the threshold is the value of the
system-cluster-criticalpriority class.-
stringspec.priorityClassThreshold.nameName of the priority class.
-
integerspec.priorityClassThreshold.valueValue of the priority class.
-
-
array of stringsspec.protectedStorageClasses
List of StorageClass names whose pods must not be evicted.
A pod that uses a PersistentVolumeClaim of one of the listed StorageClasses is not evicted. A pod whose PersistentVolumeClaim cannot be resolved (the PersistentVolumeClaim is missing or has an empty
storageClassName) is protected as well.If the parameter is not set, pods with PersistentVolumeClaims are evicted as usual.
Examples:
protectedStorageClasses: local-pathprotectedStorageClasses: local-storage-class-
stringspec.protectedStorageClasses.Element of the arrayStorageClass name.
Length:
1..253Pattern:
^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
-
-
objectspec.strategies
Required value
Strategy settings.-
objectspec.strategies.highNodeUtilization
Evicts pods from underutilized nodes to concentrate workloads on fewer nodes. It is intended for use with node autoscaling and a scheduler using
MostAllocated.Warning. In GKE, you cannot configure the default scheduler, but you can use the
optimize-utilizationstrategy or deploy a second custom scheduler.Node resource usage takes into account extended resources and is based on pod requests, not actual consumption. Limits are ignored.
Detailed description of the strategy is provided in the HighNodeUtilization section.
-
booleanspec.strategies.highNodeUtilization.enabledMakes the strategy active.
Default:
false -
objectspec.strategies.highNodeUtilization.thresholds
Threshold values to identify underutilized nodes.
If the resource usage of the node is at or below all threshold values, then the node is considered underutilized.
If the threshold of a resource is not specified, it is treated as 100%, and the resource does not participate in identifying underutilized and overutilized nodes.
Default:
{}-
integerspec.strategies.highNodeUtilization.thresholds.cpuPercentage of the CPU requested on the node relative to the available CPU.
Allowed values:
0 <= X <= 100 -
integerspec.strategies.highNodeUtilization.thresholds.memoryPercentage of the memory requested on the node relative to the available memory.
Allowed values:
0 <= X <= 100 -
integerspec.strategies.highNodeUtilization.thresholds.podsPercentage of the number of pods relative to the pod capacity of the node.
Allowed values:
0 <= X <= 100
-
-
-
objectspec.strategies.lowNodeUtilization
Evicts pods from overutilized nodes, assuming they will be rescheduled on underutilized nodes.
By default, a node is underutilized when its resource usage is at or below all values in
thresholds, and overutilized when it exceeds at least one value intargetThresholds.Node resource usage takes into account extended resources and is based on pod requests, not actual consumption. Limits are ignored.
The utilization data source is determined by
metricsSource.Detailed description of the strategy is provided in the LowNodeUtilization section.
-
booleanspec.strategies.lowNodeUtilization.enabledMakes the strategy active.
Default:
false -
objectspec.strategies.lowNodeUtilization.evictionLimitsLimits the number of pods the strategy evicts from one node.
Example:
node: 2-
integerspec.strategies.lowNodeUtilization.evictionLimits.node
Maximum number of pods the strategy evicts from one node in one descheduling cycle.
The limit also counts pods evicted in the background, such as a virtual machine pod that leaves the node through a live migration. Such a pod takes a place in the limit in every cycle until it leaves the node, and no new eviction request is sent for it. So for virtual machines the parameter limits how many of them migrate from one node at the same time.
If the parameter is not set, the strategy evicts pods from a node until the node stops being overutilized or the underutilized nodes run out of free resources.
With metricsSource
Prometheusthe strategy evicts one pod from each overutilized node in a cycle without the parameter and up to the set number of pods with it, so in that mode the parameter raises the number of evictions.Allowed values:
1 <= X
-
-
stringspec.strategies.lowNodeUtilization.metricsSource
Source of node utilization data for the strategy.
Default: Pod resource requests or actual consumption from the Metrics API if themetrics.k8s.ioAPI group is registered in the cluster.Prometheus: Node CPU utilization averaged over 15 minutes using cluster Prometheus data (node-exporter).
With
Prometheus, thecpukey is required in both thresholds and targetThresholds; other keys are ignored. Theprometheusmodule must be enabled. Otherwise, the strategy usesDefault, and a warning is written to the Deckhouse Platform log.Together with useDeviationThresholds, the strategy keeps nodes within a corridor around the 15-minute average CPU utilization of the cluster. If evictionLimits.node is set, the parameter increases the number of evictions in this mode instead of limiting it.
If Prometheus is unavailable or has no data for at least one Ready node, the strategy skips balancing in that cycle.
Detailed description of this mode is provided in the CPU utilization section.
Default:
DefaultAllowed values:
Default,Prometheus -
objectspec.strategies.lowNodeUtilization.targetThresholds
Threshold values to identify overutilized nodes.
If the resource usage of the node exceeds at least one of the threshold values, then the node is considered overutilized.
If the threshold of a resource is not specified, it is treated as 100%, and the resource does not participate in identifying underutilized and overutilized nodes.
Default:
{}-
integerspec.strategies.lowNodeUtilization.targetThresholds.cpuPercentage of the CPU used on the node relative to the available CPU (by pod requests or, if the
metrics.k8s.ioAPI group is registered in the cluster, by actual consumption).Allowed values:
0 <= X <= 100 -
integerspec.strategies.lowNodeUtilization.targetThresholds.memoryPercentage of the memory used on the node relative to the available memory (by pod requests or, if the
metrics.k8s.ioAPI group is registered in the cluster, by actual consumption).Allowed values:
0 <= X <= 100 -
integerspec.strategies.lowNodeUtilization.targetThresholds.podsPercentage of the number of pods relative to the pod capacity of the node.
Allowed values:
0 <= X <= 100
-
-
objectspec.strategies.lowNodeUtilization.thresholds
Threshold values to identify underutilized nodes.
If the resource usage of the node is at or below all threshold values, then the node is considered underutilized.
If the threshold of a resource is not specified, it is treated as 100%, and the resource does not participate in identifying underutilized and overutilized nodes.
The
thresholdsandtargetThresholdssections must not be empty and must list the same resources. WithoutuseDeviationThresholds, thethresholdsvalue of each resource must not exceed itstargetThresholdsvalue.Default:
{}-
integerspec.strategies.lowNodeUtilization.thresholds.cpuPercentage of the CPU used on the node relative to the available CPU (by pod requests or, if the
metrics.k8s.ioAPI group is registered in the cluster, by actual consumption).Allowed values:
0 <= X <= 100 -
integerspec.strategies.lowNodeUtilization.thresholds.memoryPercentage of the memory used on the node relative to the available memory (by pod requests or, if the
metrics.k8s.ioAPI group is registered in the cluster, by actual consumption).Allowed values:
0 <= X <= 100 -
integerspec.strategies.lowNodeUtilization.thresholds.podsPercentage of the number of pods relative to the pod capacity of the node.
Allowed values:
0 <= X <= 100
-
-
booleanspec.strategies.lowNodeUtilization.useDeviationThresholds
Counts thresholds and targetThresholds from the average utilization of the nodes instead of using them as absolute values.
The average is calculated over all Ready nodes of the cluster for every resource listed in
thresholds, regardless of nodeLabelSelector.A node is considered underutilized if its usage of all listed resources is at or below the average minus the
thresholdsvalue. A node is considered overutilized if its usage of at least one listed resource is above the average plus thetargetThresholdsvalue. The resulting bounds are limited to the range from 0 to 100%.In this mode, a
thresholdsvalue may be greater than thetargetThresholdsvalue of the same resource. Both sections must still list the same resources.For example,
thresholds: {cpu: 5}andtargetThresholds: {cpu: 5}keep the CPU utilization of the nodes within the corridor of ±5% around the average.Default:
false
-
-
objectspec.strategies.removeDuplicatesPrevents several duplicate pods from running on the same node. Pods are duplicates if they belong to one controller (ReplicaSet, ReplicationController, StatefulSet) or to one Job, are in the same namespace and have the same container images. If a node runs two or more duplicates, the module evicts the excess pods so that they are better distributed across the cluster.
-
booleanspec.strategies.removeDuplicates.enabledMakes the strategy active.
Default:
false
-
-
objectspec.strategies.removePodsHavingTooManyRestarts
Evicts pods with too many restarts.
A pod becomes an eviction candidate when the total number of restarts of its containers reaches the
podRestartThresholdthreshold. Restarts of init containers are not counted.CrashLoopBackOffis one possible symptom. A pod in theRunningphase can also be an eviction candidate when its restart count has reached the threshold.-
booleanspec.strategies.removePodsHavingTooManyRestarts.enabledMakes the strategy active.
Default:
false -
integerspec.strategies.removePodsHavingTooManyRestarts.podRestartThreshold
Threshold for the total number of restarts of the pod containers. Restarts of init containers are not counted.
If the number of restarts reaches this value, the pod is considered unhealthy and becomes a candidate for eviction.
Default:
100Allowed values:
1 <= X
-
-
objectspec.strategies.removePodsViolatingInterPodAntiAffinityEvicts pods that violate inter-pod anti-affinity rules.
-
booleanspec.strategies.removePodsViolatingInterPodAntiAffinity.enabledMakes the strategy active.
Default:
false
-
-
objectspec.strategies.removePodsViolatingNodeAffinityEvicts pods that violate node affinity rules according to the configured nodeAffinityType.
-
booleanspec.strategies.removePodsViolatingNodeAffinity.enabledMakes the strategy active.
Default:
false -
array of stringsspec.strategies.removePodsViolatingNodeAffinity.nodeAffinityType
List of node affinity rule types that the strategy checks.
requiredDuringSchedulingIgnoredDuringExecution: Evicts a pod if its node stops satisfying the required node affinity rule and another available node satisfies it.preferredDuringSchedulingIgnoredDuringExecution: Evicts a pod if an available node that satisfies the preferred node affinity rule appears.
Default:
[ "requiredDuringSchedulingIgnoredDuringExecution" ]-
stringspec.strategies.removePodsViolatingNodeAffinity.nodeAffinityType.Element of the array
Allowed values:
requiredDuringSchedulingIgnoredDuringExecution,preferredDuringSchedulingIgnoredDuringExecution
-
-
objectspec.strategies.removePodsViolatingTopologySpreadConstraint
Evicts pods that violate topology spread constraints. It evicts the minimum number of pods required to balance the topology domains to within the
maxSkewof each constraint.For example, the strategy rebalances pods across availability zones after a zone recovers from an outage.
-
array of stringsspec.strategies.removePodsViolatingTopologySpreadConstraint.constraints
List of topology spread constraint types that the strategy checks.
DoNotSchedule: Hard constraints. The scheduler does not place a pod if this violates the constraint. The strategy evicts the pods that violate such constraints, for example, after node failures or changes of the cluster topology.ScheduleAnyway: Soft constraints. The scheduler places a pod even if the constraint cannot be satisfied and minimizes the imbalance. With this value, the strategy also evicts the pods that violate soft constraints.
Default:
[ "DoNotSchedule" ]-
stringspec.strategies.removePodsViolatingTopologySpreadConstraint.constraints.Element of the array
Allowed values:
DoNotSchedule,ScheduleAnyway
-
booleanspec.strategies.removePodsViolatingTopologySpreadConstraint.enabledMakes the strategy active.
Default:
false -
booleanspec.strategies.removePodsViolatingTopologySpreadConstraint.topologyBalanceNodeFitIf set to
true, the strategy checks whether the pods fit on other nodes when it balances the topology domains.Default:
true
-
-
-
-
stringapiVersion
-
stringkind
-
objectmetadata
-
stringmetadata.name
-
-
objectspecDefines the behavior of a descheduler instance.
-
objectspec.deploymentTemplateTemplate of the descheduler Deployment.
-
objectspec.deploymentTemplate.nodeSelectorNode selector of the descheduler pods.
-
array of objectsspec.deploymentTemplate.tolerationsTolerations of the descheduler pods.
-
stringspec.deploymentTemplate.tolerations.effectTaint effect to match.
-
stringspec.deploymentTemplate.tolerations.keyTaint key that the toleration applies to.
-
stringspec.deploymentTemplate.tolerations.operatorRelationship of the key to the value.
-
integerspec.deploymentTemplate.tolerations.tolerationSecondsPeriod in seconds during which the toleration tolerates the taint.
-
stringspec.deploymentTemplate.tolerations.valueTaint value that the toleration matches.
-
-
-
objectspec.deschedulerPolicy
-
objectspec.deschedulerPolicy.globalParametersParameters that apply to all policies.
-
booleanspec.deschedulerPolicy.globalParameters.evictFailedBarePodsAllows pods without
ownerReferencesand infailedphase to be evicted. -
booleanspec.deschedulerPolicy.globalParameters.evictLocalStoragePodsAllows pods using local storage to be evicted.
-
booleanspec.deschedulerPolicy.globalParameters.evictSystemCriticalPodsAllows eviction of pods of any priority (including Kubernetes system pods).
-
booleanspec.deschedulerPolicy.globalParameters.ignorePvcPodsPrevents pods with PVCs from being evicted.
-
integerspec.deschedulerPolicy.globalParameters.maxNoOfPodsToEvictPerNamespaceRestricts maximum of pods to be evicted per namespace.
-
integerspec.deschedulerPolicy.globalParameters.maxNoOfPodsToEvictPerNodeRestricts maximum of pods to be evicted per node.
-
stringspec.deschedulerPolicy.globalParameters.nodeSelectorSelects by label the nodes that Descheduler checks for pod fit before eviction. A pod on a node outside the selector can still be evicted if it fits on a selected node and passes the other eviction checks.
-
-
objectspec.deschedulerPolicy.strategiesList of strategies with their parameters for the Descheduler.
-
objectspec.deschedulerPolicy.strategies.highNodeUtilizationThis strategy finds nodes that are underutilized and evicts pods from the nodes in the hope that these pods will be scheduled compactly into fewer nodes.
-
booleanspec.deschedulerPolicy.strategies.highNodeUtilization.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.highNodeUtilization.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.highNodeUtilization.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.highNodeUtilization.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
objectspec.deschedulerPolicy.strategies.lowNodeUtilizationThis strategy finds nodes that are underutilized and evicts pods, if possible, from other nodes in the hope that recreation of evicted pods will be scheduled on these underutilized nodes.
-
booleanspec.deschedulerPolicy.strategies.lowNodeUtilization.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.lowNodeUtilization.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.lowNodeUtilization.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
objectspec.deschedulerPolicy.strategies.removeDuplicatesThis strategy makes sure that there is only one Pod associated with a ReplicaSet (RS), ReplicationController (RC), StatefulSet, or Job running on the same node.
-
booleanspec.deschedulerPolicy.strategies.removeDuplicates.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.removeDuplicates.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.removeDuplicates.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.removeDuplicates.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.removeDuplicates.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
objectspec.deschedulerPolicy.strategies.removeFailedPodsThis strategy evicts pods that are in
failedstatus phase.-
booleanspec.deschedulerPolicy.strategies.removeFailedPods.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.removeFailedPods.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.removeFailedPods.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.removeFailedPods.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.removeFailedPods.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
objectspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestartsThis strategy makes sure that pods having too many restarts are removed from nodes.
-
booleanspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinityThis strategy makes sure that pods violating interpod anti-affinity are removed from nodes.
-
booleanspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinityThis strategy makes sure all pods violating node affinity are eventually removed from nodes.
-
booleanspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaintsThis strategy makes sure that pods violating
NoScheduletaints on nodes are removed.-
booleanspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraintThis strategy makes sure that pods violating topology spread constraints are evicted from nodes.
-
booleanspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.enabled
Required value
Makes the strategy active. -
objectspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.namespaceFilterRestricts namespaces to which this strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilterFilters nodes to which the strategy applies.
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector
-
array of objectsspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressionsList of label expressions that a node must match.
Examples:
key: tier operator: In values: - production - stagingkey: tier operator: NotIn values: - production-
stringspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions.keyLabel name.
-
stringspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions.operatorComparison operator.
Allowed values:
In,NotIn,Exists,DoesNotExist -
array of stringsspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions.valuesLabel values.
-
stringspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions.values.Element of the array
Length:
1..63Pattern:
[a-z0-9]([-a-z0-9]*[a-z0-9])?
-
-
-
objectspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchLabels
-
-
-
booleanspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFitIf set to
true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them. -
objectspec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.priorityFilterOnly pods with priority lower than this will be descheduled.
-
-
-
-
-
objectstatusMost recently observed status of a descheduler instance.
-
booleanstatus.ready
Required value
Readiness of the descheduler instance.
-