Aws-node-termination-handler helm chart is trying to hit /metrics endpoint even after setting enable-prometheus-server as false.
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
- Use the aws-node-termination-handler helm chart and deploy to EKS cluster.
- Check the pod logs.
Expected outcome
- When the argument
enable-prometheus-server: false,is set asfalseit should not automatically try to hit/metricsendpoint.
Application Logs
Environment
- NTH App Version:
- NTH Mode (IMDS/Queue processor):
- OS/Arch: Linux
- Kubernetes version: 1.29
- Installation method: Helm chart update via Terraform.
- Helm Chart appVersion : v1.22.1
