Deprovisioning Logging "replacement" when doing "deletion" #280
Labels
good-first-issue
Good for newcomers
kind/bug
Categorizes issue or PR as related to a bug.
v1
Issues requiring resolution by the v1 milestone
Version
Karpenter Version: v0.27.1
Kubernetes Version: v1.25.0
Expected Behavior
Karpenter should log "deprovisioning due to ... delete" when it is deleting a machine and not bringing up a replacement machine. We should be able to determine this by looking at the number of replacements and determining if it's greater than 0 to do the logging based on replacement or deletion
Actual Behavior
karpenter-84659d4f58-k5wnw controller 2023-04-07T23:39:21.138Z INFO controller.deprovisioning deprovisioning via expiration replace, terminating 1 machines ip-192-168-78-59.us-west-2.compute.internal/c6a.48xlarge/on-demand {"commit": "672a832-dirty"}
This occurred when Karpenter was deleting a machine and whewn
Steps to Reproduce the Problem
.spec.ttlSecondsUntilExpaired
to trigger expiration on nodesResource Specs and Logs
N/A
Community Note
The text was updated successfully, but these errors were encountered: