Since the upgrade to Karpenter 1.0.8, nodes being decommissioned are marked with an Unknown status for ~1min by the kube_node_status_condition Kubernetes metrics.
This wasn't the case before.
The exact PromQL we're using is count by (node) (kube_node_status_condition{status="unknown"} == 1) > 0
We've observed the following in the kubernetes-event-exporter logs for the nodes affected by this behavior:
2024-11-19 17:52:07.877 :
"reason":"InstanceTerminating",
"message":"Instance is terminating"
2024-11-19 17:52:42.101:
"reason": "NodeNotReady",
"message": "Node node-placeholder status is now: NodeNotReady",
2024-11-19 17:53:52.278:
"reason":"RemovingNode",
"message":"Node XXX event: Removing Node XXX from Controller"
Expected Behavior:
Nodes being decommissioned should not have Unknown status
Reproduction Steps (Please include YAML):
karpenter and karpenter-crd are deployed through Terraform:
Description
Observed Behavior:
Since the upgrade to Karpenter 1.0.8, nodes being decommissioned are marked with an
Unknown
status for ~1min by thekube_node_status_condition
Kubernetes metrics.This wasn't the case before.
The exact PromQL we're using is
count by (node) (kube_node_status_condition{status="unknown"} == 1) > 0
We've observed the following in the kubernetes-event-exporter logs for the nodes affected by this behavior:
2024-11-19 17:52:07.877
:2024-11-19 17:52:42.101
:2024-11-19 17:53:52.278
:Expected Behavior:
Nodes being decommissioned should not have
Unknown
statusReproduction Steps (Please include YAML):
karpenter
andkarpenter-crd
are deployed through Terraform:karpenter-values.yaml
Versions:
Chart Version: 1.0.8
Kubernetes Version (
kubectl version
): 1.30.4Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment