K8S ingress too many redirects

CMK version: checkmk/check-mk-raw:2.1.0p10
OS version: Kubernetes

Error message:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://10.1.162.149:5000/checkmk/">here</a>.</p>
</body></html>

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

I’ve deployed CheckMK into a K8S Cluster, I’ve modified the existing template from kubernetes/checkmk-server_ingress.yaml at main · tribe29/kubernetes · GitHub to make it work, however, when Nginx is doing the reverse proxy it redirect to /checkmk then again to /checkmk/checkmk where here it get a 401, basically it’s getting too many redirects

Hey @neul0n and welcome.
I recommend to check out this helm chart: helm-charts/checkmk-server at main · TWENTY-20/helm-charts · GitHub
@mhuether wrote it and I think he is using nginx as well and it works well for them.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.