Closed vipinmenon closed 4 years ago
I don't have ocp or okd installed on my system. I have only minikube and is consistently failing there.
It takes time for the containers to start and the probe would fail before they are up and running. It would be a problem if the containers never start, but both kappnav-controller and kappnav-ui containers started successfully from the event messages you posted. I also see the same message in my ocp console and it just takes time to start controller containers.
@amylin1 Thanks for the response. I have tried waiting for hours but hardly I saw once or twice all the containers up and running. As soon as the Liveness probe and Readiness probe messages pitch in, container restarts and finally end up with the same message followed by restart again. Is there a way to debug this further. ?
I saw different failed readiness probe error in my ocp environment consistently before the controller container startup. It may relate to some readiness initial delay or timeout values. I will try to adjust them to see if it can resolve the issue.
Generated from kubelet on worker0.amylin1.os.fyre.ibm.com Readiness probe failed: Get https://10.254.5.207:9443/kappnav/health: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
I have increased initial delay seconds and timeout seconds value and I don't see controller readiness/liveness failed error messages. I will close the issue and you can open another issue if you still see some errors.
While I try the following command on a minikube
curl -L https://raw.githubusercontent.com/kappnav/operator/master/releases/latest/kappnav.yaml | sed "s|kubeEnv: okd|kubeEnv: minikube|" | kubectl create -f - -n kappnav
I see two of the containers never come up
When I look at the events inside, this is what I see
I have tried couple of restarts and I have seen it up and running sometimes. But the probability is too low. Can somebody help this running consistently.
Thanks!