Skip to Content
ScaleOps via GitOpsNode Consolidation Configuration

Node Consolidation Configuration

Node consolidation settings, schedule, and per-node-pool settings can be defined in Helm values and deployed via GitOps.
Helm-defined settings, schedule, and node pool configuration can be edited via the product. On Helm upgrade, only the relevant changes will be applied.

Configuration Available in v1.27.12+

nodeConsolidation: enabled: true settings: general: enableScaleDownNodesWithGpu: true enableScaleDownNodesWithUnevictablePods: true enableForcePodTermination: true karpenter: enableScaleDownUnderutilizedNodes: true enableScaleDownClusterAutoScalerNodes: true clusterAutoScaler: enableOverrideNodePoolMinCount: true enableScaleDownNodesWithLocalStorage: true enableScaleDownNodesWithKubeSystemPods: true enableReplaceNodesWithBetterInstanceTypes: true schedule: timezone: "America/New_York" recurrences: - days: [1, 3, 5] # Monday, Wednesday, Friday times: ["02:00"] # 2 AM in the configured timezone nodePools: - name: "critical-pool" shouldConsolidate: false - name: "batch-pool" shouldConsolidate: true

Fields

nodeConsolidation.enabled

Must be true to apply the Helm-defined configuration.

nodeConsolidation.settings

Optional object with three sub-objects: general, karpenter, and clusterAutoScaler. Omitted keys are not applied.

settings.general - Relevant for both Karpenter and Cluster Autoscaler managed clusters

KeyDescription
enableScaleDownNodesWithGpuWhen true, allow scaling down nodes with GPU.
enableScaleDownNodesWithUnevictablePodsWhen true, allow scaling down nodes with unevictable pods.
enableForcePodTerminationWhen true, give pods a short window to shut down gracefully, then terminate any that are still running. Pod Disruption Budgets are still respected unless enableScaleDownNodesWithUnevictablePods is also true.

settings.karpenter

KeyDescription
enableScaleDownUnderutilizedNodesWhen true, allow force-deleting Karpenter underutilized nodes (scale down beyond Karpenter’s default constraints).
enableScaleDownClusterAutoScalerNodesWhen true, allow Cluster Autoscaler-managed nodes to participate in consolidation on mixed Karpenter + CAS clusters.

settings.clusterAutoScaler

KeyDescription
enableOverrideNodePoolMinCountWhen true, allow scaling down nodes from node pools at minimum size.
enableScaleDownNodesWithLocalStorageWhen true, allow scaling down nodes with local storage.
enableScaleDownNodesWithKubeSystemPodsWhen true, allow scaling down nodes with kube-system pods.
enableReplaceNodesWithBetterInstanceTypesWhen true, replace nodes with better (smaller/cheaper) instance types during consolidation.

nodeConsolidation.schedule

Optional object that defines when consolidation runs automatically.

schedule.timezone Available in v1.35.2+

Optional. The timezone used to interpret schedule times. Defaults to UTC when omitted or empty.

Accepted formats:

  • IANA timezone names (recommended) - e.g. America/New_York, Europe/London, Asia/Tokyo
  • Fixed UTC offsets - e.g. UTC+5, UTC-8, +05:30
  • Common abbreviations like EST, PST, CET are also accepted, but IANA names are preferred for clarity.

For the full list of IANA timezone names, see the IANA Time Zone Database  or the Wikipedia list of tz database time zones .

Daylight saving time: with an IANA timezone (for example America/New_York), schedule times keep the same local wall-clock time across DST changes. Without a timezone, times are fixed UTC and do not follow DST, so the local run time shifts by one hour when DST changes. Fixed UTC offsets such as UTC-5 do not follow DST either.

Schedules created before v1.35.2 have no timezone and stay on fixed UTC after upgrading. To make them follow local time:

  • In Helm, set timezone and set times to the local clock you want. The times already in the file are read in that zone as written.
  • In the UI, edit and save the schedule. The save rewrites the times into the browser’s timezone and stores that timezone.

schedule.recurrences

Array of { days: number[], times: string[] }. Each entry defines a recurring consolidation window.

  • days: Weekday numbers (0 = Sunday, 1 = Monday, …, 6 = Saturday)
  • times: Array of "HH:MM" strings in 24-hour format, interpreted in the configured timezone (UTC if omitted)

Example: run consolidation on Mon, Wed, Fri at 2:00 and 14:00 in New York time:

schedule: timezone: "America/New_York" recurrences: - days: [1, 3, 5] times: ["02:00", "14:00"]

nodeConsolidation.nodePools

Optional list of per-node-pool configuration entries. Each entry targets a node pool by name and defines how that pool participates in consolidation.

Node pools not listed use the default behavior (shouldConsolidate: true).

Per-entry fields

KeyTypeDescription
namestringName of the node pool to configure
shouldConsolidatebooleanWhether this node pool should participate in consolidation. Defaults to true when omitted

Example: configure consolidation behavior for specific node pools:

nodePools: - name: "critical-pool" shouldConsolidate: false - name: "batch-pool" shouldConsolidate: true