Skip to content

Error "Failed to get AWS instance ids" is logged despite check-tag-before-draining=falseΒ #1199

@AndiDog

Description

@AndiDog

Describe the bug

We configure check-tag-before-draining: false because we don't tag ASGs. The error "Failed to get AWS instance ids" gets logged, but it seems that is only related to metrics. It's spammy in the logs.

Application Logs

2025/10/06 10:41:27 ERR Failed to get AWS instance ids error="describe instances success but return empty response for tag key: aws-node-termination-handler/managed"

Environment

  • NTH App Version: v1.25.1
  • NTH Mode (IMDS/Queue processor): queue processor
  • OS/Arch: Linux
  • Kubernetes version: 1.32.9
  • Installation method: Helm, custom values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions