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

Descheduler is a description of a single descheduler instance.
  • apiVersion
    string
  • kind
    string
  • metadata
    object
    • metadata.name
      string
  • spec
    object
    Defines the behavior of a descheduler instance.
    • spec.evictLocalStoragePods
      boolean

      Allows evicting pods that use local storage: emptyDir or hostPath volumes.

      Without this parameter, a Descheduler does not process pods of virtual machines.

      Default: false

    • spec.namespaceLabelSelector
      object
      Limits the processed pods by the labels of their namespaces.
      • spec.namespaceLabelSelector.matchExpressions
        array of objects
        List of label expressions that a namespace must match.

        Examples:

        key: tier
        operator: In
        values:
        - production
        - staging
        
        key: tier
        operator: NotIn
        values:
        - production
        
        • spec.namespaceLabelSelector.matchExpressions.key
          string
          Label name.
        • spec.namespaceLabelSelector.matchExpressions.operator
          string
          Comparison operator.

          Allowed values: In, NotIn, Exists, DoesNotExist

        • spec.namespaceLabelSelector.matchExpressions.values
          array of strings
          Label values.
          • spec.namespaceLabelSelector.matchExpressions.values.Element of the array
            string

            Length: 1..63

            Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

      • spec.namespaceLabelSelector.matchLabels
        object
        Labels that a namespace must have.
    • spec.nodeLabelSelector
      object
      Selects 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.
      • spec.nodeLabelSelector.matchExpressions
        array of objects
        List of label expressions that a node must match.

        Examples:

        key: tier
        operator: In
        values:
        - production
        - staging
        
        key: tier
        operator: NotIn
        values:
        - production
        
        • spec.nodeLabelSelector.matchExpressions.key
          string
          Label name.
        • spec.nodeLabelSelector.matchExpressions.operator
          string
          Comparison operator.

          Allowed values: In, NotIn, Exists, DoesNotExist

        • spec.nodeLabelSelector.matchExpressions.values
          array of strings
          Label values.
          • spec.nodeLabelSelector.matchExpressions.values.Element of the array
            string

            Length: 1..63

            Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

      • spec.nodeLabelSelector.matchLabels
        object
        Labels that a node must have.
    • spec.podLabelSelector
      object
      Limits the processed pods by labels.
      • spec.podLabelSelector.matchExpressions
        array of objects
        List of label expressions that a pod must match.

        Examples:

        key: tier
        operator: In
        values:
        - production
        - staging
        
        key: tier
        operator: NotIn
        values:
        - production
        
        • spec.podLabelSelector.matchExpressions.key
          string
          Label name.
        • spec.podLabelSelector.matchExpressions.operator
          string
          Comparison operator.

          Allowed values: In, NotIn, Exists, DoesNotExist

        • spec.podLabelSelector.matchExpressions.values
          array of strings
          Label values.
          • spec.podLabelSelector.matchExpressions.values.Element of the array
            string

            Length: 1..63

            Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

      • spec.podLabelSelector.matchLabels
        object
        Labels that a pod must have.
    • spec.priorityClassThreshold
      object

      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-critical priority class.

      • spec.priorityClassThreshold.name
        string
        Name of the priority class.
      • spec.priorityClassThreshold.value
        integer
        Value of the priority class.
    • spec.protectedStorageClasses
      array of strings

      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-path
      
      protectedStorageClasses: local-storage-class
      
      • spec.protectedStorageClasses.Element of the array
        string
        StorageClass name.

        Length: 1..253

        Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$

    • spec.strategies
      object

      Required value

      Strategy settings.
      • spec.strategies.highNodeUtilization
        object

        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-utilization strategy 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.

        • spec.strategies.highNodeUtilization.enabled
          boolean
          Makes the strategy active.

          Default: false

        • spec.strategies.highNodeUtilization.thresholds
          object

          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: {}

          • spec.strategies.highNodeUtilization.thresholds.cpu
            integer
            Percentage of the CPU requested on the node relative to the available CPU.

            Allowed values: 0 <= X <= 100

          • spec.strategies.highNodeUtilization.thresholds.memory
            integer
            Percentage of the memory requested on the node relative to the available memory.

            Allowed values: 0 <= X <= 100

          • spec.strategies.highNodeUtilization.thresholds.pods
            integer
            Percentage of the number of pods relative to the pod capacity of the node.

            Allowed values: 0 <= X <= 100

      • spec.strategies.lowNodeUtilization
        object

        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 in targetThresholds.

        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.

        • spec.strategies.lowNodeUtilization.enabled
          boolean
          Makes the strategy active.

          Default: false

        • spec.strategies.lowNodeUtilization.evictionLimits
          object
          Limits the number of pods the strategy evicts from one node.

          Example:

          node: 2
          
          • spec.strategies.lowNodeUtilization.evictionLimits.node
            integer

            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 Prometheus the 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

        • spec.strategies.lowNodeUtilization.metricsSource
          string

          Source of node utilization data for the strategy.

          • Default: Pod resource requests or actual consumption from the Metrics API if the metrics.k8s.io API group is registered in the cluster.
          • Prometheus: Node CPU utilization averaged over 15 minutes using cluster Prometheus data (node-exporter).

          With Prometheus, the cpu key is required in both thresholds and targetThresholds; other keys are ignored. The prometheus module must be enabled. Otherwise, the strategy uses Default, 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: Default

          Allowed values: Default, Prometheus

        • spec.strategies.lowNodeUtilization.targetThresholds
          object

          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: {}

          • spec.strategies.lowNodeUtilization.targetThresholds.cpu
            integer
            Percentage of the CPU used on the node relative to the available CPU (by pod requests or, if the metrics.k8s.io API group is registered in the cluster, by actual consumption).

            Allowed values: 0 <= X <= 100

          • spec.strategies.lowNodeUtilization.targetThresholds.memory
            integer
            Percentage of the memory used on the node relative to the available memory (by pod requests or, if the metrics.k8s.io API group is registered in the cluster, by actual consumption).

            Allowed values: 0 <= X <= 100

          • spec.strategies.lowNodeUtilization.targetThresholds.pods
            integer
            Percentage of the number of pods relative to the pod capacity of the node.

            Allowed values: 0 <= X <= 100

        • spec.strategies.lowNodeUtilization.thresholds
          object

          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 thresholds and targetThresholds sections must not be empty and must list the same resources. Without useDeviationThresholds, the thresholds value of each resource must not exceed its targetThresholds value.

          Default: {}

          • spec.strategies.lowNodeUtilization.thresholds.cpu
            integer
            Percentage of the CPU used on the node relative to the available CPU (by pod requests or, if the metrics.k8s.io API group is registered in the cluster, by actual consumption).

            Allowed values: 0 <= X <= 100

          • spec.strategies.lowNodeUtilization.thresholds.memory
            integer
            Percentage of the memory used on the node relative to the available memory (by pod requests or, if the metrics.k8s.io API group is registered in the cluster, by actual consumption).

            Allowed values: 0 <= X <= 100

          • spec.strategies.lowNodeUtilization.thresholds.pods
            integer
            Percentage of the number of pods relative to the pod capacity of the node.

            Allowed values: 0 <= X <= 100

        • spec.strategies.lowNodeUtilization.useDeviationThresholds
          boolean

          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 thresholds value. A node is considered overutilized if its usage of at least one listed resource is above the average plus the targetThresholds value. The resulting bounds are limited to the range from 0 to 100%.

          In this mode, a thresholds value may be greater than the targetThresholds value of the same resource. Both sections must still list the same resources.

          For example, thresholds: {cpu: 5} and targetThresholds: {cpu: 5} keep the CPU utilization of the nodes within the corridor of ±5% around the average.

          Default: false

      • spec.strategies.removeDuplicates
        object
        Prevents 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.
        • spec.strategies.removeDuplicates.enabled
          boolean
          Makes the strategy active.

          Default: false

      • spec.strategies.removePodsHavingTooManyRestarts
        object

        Evicts pods with too many restarts.

        A pod becomes an eviction candidate when the total number of restarts of its containers reaches the podRestartThreshold threshold. Restarts of init containers are not counted.

        CrashLoopBackOff is one possible symptom. A pod in the Running phase can also be an eviction candidate when its restart count has reached the threshold.

        • spec.strategies.removePodsHavingTooManyRestarts.enabled
          boolean
          Makes the strategy active.

          Default: false

        • spec.strategies.removePodsHavingTooManyRestarts.podRestartThreshold
          integer

          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: 100

          Allowed values: 1 <= X

      • spec.strategies.removePodsViolatingInterPodAntiAffinity
        object
        Evicts pods that violate inter-pod anti-affinity rules.
        • spec.strategies.removePodsViolatingInterPodAntiAffinity.enabled
          boolean
          Makes the strategy active.

          Default: false

      • spec.strategies.removePodsViolatingNodeAffinity
        object
        Evicts pods that violate node affinity rules according to the configured nodeAffinityType.
        • spec.strategies.removePodsViolatingNodeAffinity.enabled
          boolean
          Makes the strategy active.

          Default: false

        • spec.strategies.removePodsViolatingNodeAffinity.nodeAffinityType
          array of strings

          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" ]

          • spec.strategies.removePodsViolatingNodeAffinity.nodeAffinityType.Element of the array
            string

            Allowed values: requiredDuringSchedulingIgnoredDuringExecution, preferredDuringSchedulingIgnoredDuringExecution

      • spec.strategies.removePodsViolatingTopologySpreadConstraint
        object

        Evicts pods that violate topology spread constraints. It evicts the minimum number of pods required to balance the topology domains to within the maxSkew of each constraint.

        For example, the strategy rebalances pods across availability zones after a zone recovers from an outage.

        • spec.strategies.removePodsViolatingTopologySpreadConstraint.constraints
          array of strings

          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" ]

          • spec.strategies.removePodsViolatingTopologySpreadConstraint.constraints.Element of the array
            string

            Allowed values: DoNotSchedule, ScheduleAnyway

        • spec.strategies.removePodsViolatingTopologySpreadConstraint.enabled
          boolean
          Makes the strategy active.

          Default: false

        • spec.strategies.removePodsViolatingTopologySpreadConstraint.topologyBalanceNodeFit
          boolean
          If set to true, the strategy checks whether the pods fit on other nodes when it balances the topology domains.

          Default: true

Descheduler is a description of a single descheduler instance.
  • apiVersion
    string
  • kind
    string
  • metadata
    object
    • metadata.name
      string
  • spec
    object
    Defines the behavior of a descheduler instance.
    • spec.deploymentTemplate
      object
      Template of the descheduler Deployment.
      • spec.deploymentTemplate.nodeSelector
        object
        Node selector of the descheduler pods.
      • spec.deploymentTemplate.tolerations
        array of objects
        Tolerations of the descheduler pods.
        • spec.deploymentTemplate.tolerations.effect
          string
          Taint effect to match.
        • spec.deploymentTemplate.tolerations.key
          string
          Taint key that the toleration applies to.
        • spec.deploymentTemplate.tolerations.operator
          string
          Relationship of the key to the value.
        • spec.deploymentTemplate.tolerations.tolerationSeconds
          integer
          Period in seconds during which the toleration tolerates the taint.
        • spec.deploymentTemplate.tolerations.value
          string
          Taint value that the toleration matches.
    • spec.deschedulerPolicy
      object
      globalParameters and strategies follow the descheduler’s documentation.
      • spec.deschedulerPolicy.globalParameters
        object
        Parameters that apply to all policies.
        • spec.deschedulerPolicy.globalParameters.evictFailedBarePods
          boolean
          Allows pods without ownerReferences and in failed phase to be evicted.
        • spec.deschedulerPolicy.globalParameters.evictLocalStoragePods
          boolean
          Allows pods using local storage to be evicted.
        • spec.deschedulerPolicy.globalParameters.evictSystemCriticalPods
          boolean
          Allows eviction of pods of any priority (including Kubernetes system pods).
        • spec.deschedulerPolicy.globalParameters.ignorePvcPods
          boolean
          Prevents pods with PVCs from being evicted.
        • spec.deschedulerPolicy.globalParameters.maxNoOfPodsToEvictPerNamespace
          integer
          Restricts maximum of pods to be evicted per namespace.
        • spec.deschedulerPolicy.globalParameters.maxNoOfPodsToEvictPerNode
          integer
          Restricts maximum of pods to be evicted per node.
        • spec.deschedulerPolicy.globalParameters.nodeSelector
          string
          Selects 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.
      • spec.deschedulerPolicy.strategies
        object
        List of strategies with their parameters for the Descheduler.
        • spec.deschedulerPolicy.strategies.highNodeUtilization
          object
          This 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.
          • spec.deschedulerPolicy.strategies.highNodeUtilization.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.highNodeUtilization.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.highNodeUtilization.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.highNodeUtilization.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
        • spec.deschedulerPolicy.strategies.lowNodeUtilization
          object
          This 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.
          • spec.deschedulerPolicy.strategies.lowNodeUtilization.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.lowNodeUtilization.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.lowNodeUtilization.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.lowNodeUtilization.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
        • spec.deschedulerPolicy.strategies.removeDuplicates
          object
          This strategy makes sure that there is only one Pod associated with a ReplicaSet (RS), ReplicationController (RC), StatefulSet, or Job running on the same node.
          • spec.deschedulerPolicy.strategies.removeDuplicates.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.removeDuplicates.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.removeDuplicates.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.removeDuplicates.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
        • spec.deschedulerPolicy.strategies.removeFailedPods
          object
          This strategy evicts pods that are in failed status phase.
          • spec.deschedulerPolicy.strategies.removeFailedPods.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.removeFailedPods.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.removeFailedPods.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.removeFailedPods.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
        • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts
          object
          This strategy makes sure that pods having too many restarts are removed from nodes.
          • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.removePodsHavingTooManyRestarts.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
        • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity
          object
          This strategy makes sure that pods violating interpod anti-affinity are removed from nodes.
          • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.removePodsViolatingInterPodAntiAffinity.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
        • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity
          object
          This strategy makes sure all pods violating node affinity are eventually removed from nodes.
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeAffinity.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
        • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints
          object
          This strategy makes sure that pods violating NoSchedule taints on nodes are removed.
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.removePodsViolatingNodeTaints.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
        • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint
          object
          This strategy makes sure that pods violating topology spread constraints are evicted from nodes.
          • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.enabled
            boolean

            Required value

            Makes the strategy active.
          • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.namespaceFilter
            object
            Restricts namespaces to which this strategy applies.
          • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter
            object
            Filters nodes to which the strategy applies.
            • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector
              object
              • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions
                array of objects
                List of label expressions that a node must match.

                Examples:

                key: tier
                operator: In
                values:
                - production
                - staging
                
                key: tier
                operator: NotIn
                values:
                - production
                
                • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions.key
                  string
                  Label name.
                • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions.operator
                  string
                  Comparison operator.

                  Allowed values: In, NotIn, Exists, DoesNotExist

                • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions.values
                  array of strings
                  Label values.
                  • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchExpressions.values.Element of the array
                    string

                    Length: 1..63

                    Pattern: [a-z0-9]([-a-z0-9]*[a-z0-9])?

              • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFilter.labelSelector.matchLabels
                object
          • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.nodeFit
            boolean
            If set to true, the descheduler will consider whether or not the pods that meet eviction criteria will fit on other nodes before evicting them.
          • spec.deschedulerPolicy.strategies.removePodsViolatingTopologySpreadConstraint.priorityFilter
            object
            Only pods with priority lower than this will be descheduled.
  • status
    object
    Most recently observed status of a descheduler instance.
    • status.ready
      boolean

      Required value

      Readiness of the descheduler instance.