CronJobs in a namespace preventing consolidation #1921
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Description
Observed Behavior:
We have a bunch of cronjobs running on a namespace with a maximum frequency of every 15m. Karpenter seems to be taking that into account on field
lastPodEventTime
preventing the node to be considered asConsolidatable
Expected Behavior:
CronJobs and ephemeral pods should not prevent node consolidation
Reproduction Steps (Please include YAML):
Have a nodepool with a
spec.disruption.consolidateAfter
field set to a duration longer than cronjob frequency, example60m
Versions:
v1.0.6
kubectl version
):Server Version: version.Info{Major:"1", Minor:"30+", GitVersion:"v1.30.8-eks-2d5f260", GitCommit:"3c9802b10b3530b22ddb4727e2931f6b89bbb760", GitTreeState:"clean", BuildDate:"2024-12-12T23:09:04Z", GoVersion:"go1.22.9", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered: