aws / aws-node-termination-handler

Gracefully handle EC2 instance shutdown within Kubernetes

Home Page:https://aws.amazon.com/ec2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

termination-handler pods crashing randomly on ''Unable to fetch metadata from IMDS"

omfurman-ma opened this issue · comments

Describe the bug
termination-handler pods crashing randomly on ''Unable to fetch metadata from IMDS"
Happened on 8/400 pods at random times.

Steps to reproduce
Kubernetes 1.24
Chart version: 0.22.0
appVersion: 1.20.0

Expected outcome
No error and no crash

Application Logs
{"level":"error","error":"Metadata request received http status code: 503","time":"2023-11-01T20:45:08Z","message":"Unable to fetch metadata from IMDS"}

Environment

  • NTH App Version:
  • NTH Mode (IMDS/Queue processor):
  • OS/Arch: linux/arm64
  • instance-type=c7g.4xlarge
  • Kubernetes version: 1.24.13
  • Installation method: Helm

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want this issue to never become stale, please ask a maintainer to apply the "stalebot-ignore" label.

This issue was closed because it has become stale with no activity.