Kubeapps UI sometimes fails due to the kubeapps-postgresql Liveness and Readiness probes #4588
-
I am experimenting minikube + kubapps on my 2015 MBP and I notice the Kubeapps UI sometimes fails to respond. After spending a bit of time debugging, I found out it's the kubeapps-postgresql causing the error with Liveness and Readiness probles. Here are the events log for the kubeapps-postgresql-primary-0: Events: Warning Unhealthy 41m (x25 over 62m) kubelet Readiness probe failed: 127.0.0.1:5432 - no response My guess is the laptop not beefy enough to pass the probe tests. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Could be - though I'd expect the actual logs of the pod to show you that too. Note, if you're running on your local machine, I usually use something like this manifest to reduce the resource usage: Just take the relevant bits from there to ensure postgres runs in standalone mode, and you only get a single pod for each deployment etc. |
Beta Was this translation helpful? Give feedback.
Could be - though I'd expect the actual logs of the pod to show you that too. Note, if you're running on your local machine, I usually use something like this manifest to reduce the resource usage:
https://github.com/vmware-tanzu/kubeapps/blob/main/docs/howto/manifests/kubeapps-local-dev-values.yaml
Just take the relevant bits from there to ensure postgres runs in standalone mode, and you only get a single pod for each deployment etc.