postfinance / kubenurse

Kubernetes network monitoring
MIT License
407 stars 39 forks source link

"Moved Permanently" response from /alive endpoint. #26

Closed eli-halych closed 3 years ago

eli-halych commented 3 years ago

I install kubenurse as a Helm chart by placing these files to the chart's "templates" folder. Next, I install it with helm install .. Then from a pod, where I kubectl exec into, I try to send an HTTP request to http://kubenurse.kube-system.svc.cluster.local:8080 with curl and get this response:

<a href="/alive">Moved Permanently</a>.
djboris9 commented 3 years ago

Hi @eli-halych

This works as designed. When you do a curl -L you will be redirected to the /alive endpoint and will see the expected state. Or you can directly access http://kubenurse.kube-system.svc.cluster.local:8080/alive

If you wish to access the metrics, you can navigate to http://kubenurse.kube-system.svc.cluster.local:8080/metrics. More information are available here