karpenter_node_expiry

Description

The karpenter_node_expiry parameter sets the maximum lifetime for Karpenter workload nodes before they are automatically replaced. This keeps your fleet on current AMIs without manual intervention.

Default Value

The default value is 720h (30 days).

Setting the Parameter

$ convox rack params set karpenter_node_expiry=336h -r rackName
Setting parameters... OK

To disable automatic replacement:

$ convox rack params set karpenter_node_expiry=Never -r rackName
Setting parameters... OK

Additional Information

  • Validation: Must be a duration in hours (e.g., 720h, 336h) or Never.
  • When a node reaches its expiry, Karpenter gracefully drains pods before terminating the node, subject to karpenter_disruption_budget_nodes.

See Also