aws / aws-node-termination-handler

Gracefully handle EC2 instance shutdown within Kubernetes
https://aws.amazon.com/ec2
Apache License 2.0
1.63k stars 267 forks source link

Aws-node-termination-handler helm chart is trying to hit /metrics endpoint even after setting enable-prometheus-server as false. #1078

Open BIPLAVGHOSAL opened 1 month ago

BIPLAVGHOSAL commented 1 month ago

Describe the bug Deployed the aws-node-termination-handler Helm chart successfully in EKS cluster, with node-termination-arguments as

enable-prometheus-server: false,
prometheus-server-port: 8080,

The Helm chart status is deployed and upon checkin the pod logs, found that it is trying to hit the /metrics endpoint for Prometheus and this gives 404 logs in the pod level.

can you please suggest after setting the enable-prometheus-server argument as false why it is trying to reach for the server endpoint ?

Steps to reproduce

Expected outcome

Application Logs

image

Environment

github-actions[bot] commented 1 week ago

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.