robjuz / helm-charts

https://robjuz.github.io/helm-charts/index.yaml
34 stars 30 forks source link

ProbeWarning #3

Closed neerdoc closed 3 years ago

neerdoc commented 3 years ago

Vanilla installation on rancher gives me a continuously reoccurring ProbeWarning:

Readiness probe warning: <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta http-equiv="refresh" content="0;url='http://localhost/en/login'" /> <title>Redirecting to http://localhost/en/login</title> </head> <body> Redirecting to <a href="http://localhost/en/login">http://localhost/en/login</a>. </body> </html> 

It repeats every 10 seconds.

Seems strange that only the "Readiness probe" gives a warning and not also the "Liveness probe" since they (as far as I can see) have the exact same setup in the deployment.yaml.

neerdoc commented 3 years ago

Oh, seems that "Liveness probe" does not start until "Readiness probe" has succeeded.

neerdoc commented 3 years ago

Submitted a PR with a fix for this.

I simply added the path that the warning show it was getting redirect to. Have tested on my k8-cluster and the warnings are gone.

neerdoc commented 3 years ago

I can confirm that this is fixed now on my k8 cluster. No more warnings.