Skip to content

Too much error log from node claim controller #2762

@GnatorX

Description

@GnatorX

Description

Observed Behavior:


"message":"failed to update nodeclaim from cost tracking",
"name":"bah",
"level":"ERROR",
"NodeClaim":
{…},
"controller":"state.nodeclaim",
"controllerGroup":"karpenter.sh",
"controllerKind":"NodeClaim",
"error":"nodeclaim is missing required labels (missingLabels=[node.kubernetes.io/instance-type karpenter.sh/capacity-type topology.kubernetes.io/zone], nodeclaim=bah",
"logger":"controller",
"missingLabels":
(3)[…],
"namespace":"",
"nodeclaim":
{…},
"reconcileID":"85362c98-0886-4236-83e8-b2c2560abef3",
"time":"2026-01-07T22:24:13.773Z"

We have these log lines that spam for every new node. When nodeclaims are created I don't think these labels are populated, I believe they are only added when the node is launched.

Expected Behavior:
We should move these logs to debug instead.

Reproduction Steps (Please include YAML):

Versions:

  • Chart Version:
  • Kubernetes Version (kubectl version):
  • Please 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions