dirsigler / uptime-kuma-helm

This Helm Chart installs Uptime-Kuma from @louislam to your Kubernetes Cluster.
https://helm.irsigler.cloud
GNU General Public License v3.0
151 stars 53 forks source link

Readiness and Liveness probe failed #26

Closed chuongnguyen5397 closed 2 years ago

chuongnguyen5397 commented 2 years ago

I use tag 2.0.1 and deploy with the default values file. I only change the storageclass value since I use gp2. Below is the event logs:

Events:
  Type     Reason                  Age                 From                     Message
  ----     ------                  ----                ----                     -------
  Normal   Scheduled               2m28s               default-scheduler        Successfully assigned uptime-kuma/uptime-kuma-5d89ffd98d-m979t to ip-172-5-5-34.us-west-1.compute.internal
  Normal   SuccessfulAttachVolume  2m26s               attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-9f156812-c8ba-4fd2-b7c2-17e153af0f35"
  Normal   Pulling                 2m18s               kubelet                  Pulling image "louislam/uptime-kuma:1.11.1-alpine"
  Normal   Pulled                  2m5s                kubelet                  Successfully pulled image "louislam/uptime-kuma:1.11.1-alpine" in 12.955042419s
  Warning  Unhealthy               107s                kubelet                  Liveness probe failed:
  Normal   Created                 94s (x2 over 2m4s)  kubelet                  Created container uptime-kuma
  Normal   Started                 94s (x2 over 2m4s)  kubelet                  Started container uptime-kuma
  Warning  Unhealthy               68s (x9 over 2m4s)  kubelet                  Readiness probe failed: Get "http://172.5.5.202:3001/": dial tcp 172.5.5.202:3001: connect: connection refused
  Warning  Unhealthy               68s (x5 over 118s)  kubelet                  Liveness probe failed: Health Check ERROR
  Normal   Killing                 68s (x2 over 98s)   kubelet                  Container uptime-kuma failed liveness probe, will be restarted
  Normal   Pulled                  64s (x2 over 94s)   kubelet                  Container image "louislam/uptime-kuma:1.11.1-alpine" already present on machine
marcules commented 2 years ago

@chuongnguyen5397 try renaming your release to something else, like uptime-puma, then it should work again. Also see https://github.com/louislam/uptime-kuma/issues/1138

dirsigler commented 2 years ago

thanks for the detective work. Would probably have not found this issue in this year 👀