Mirantis / k8s-netchecker-server

Basic network checker service to check DNS and connectivity in kubernetes cluster
Apache License 2.0
67 stars 19 forks source link

404 on metrics endpoint #127

Open MarkSymsCtx opened 3 years ago

MarkSymsCtx commented 3 years ago

We have a deployment of kubernetes created by kubespray with netchecker enabled. The connectivity_check enpoint /api/v1/connectivity_check works correctly and reports all pods have successfully reported back to the server. The /metrics endpoint however just returns 404. The request can be seen in the logs for the netchecker-server pod which confirms the 404 status. Is there some additional configuration missing to allow for the metrics endpoint to work?

# curl  http://XX.XX.XX.XX:8081/metrics
404 page not found