vmware-archive / kubeless-ui

Graphical User Interface for Kubeless
Apache License 2.0
418 stars 75 forks source link

Stuck in loading pods #49

Open migmartri opened 6 years ago

migmartri commented 6 years ago

After creating an initial function, I clicked on the console button and I get:

selection_327

I can retrieve those resources via kubectl

kubectl get po,svc,cm -l function=miguel
NAME                         READY     STATUS    RESTARTS   AGE
po/miguel-4191672957-whsz5   1/1       Running   0          4m

NAME         TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
svc/miguel   ClusterIP   10.47.248.108   <none>        8080/TCP   4m

NAME        DATA      AGE
cm/miguel   3         4m

And the logs for the proxy container look like:

$ kubectl logs kubeless-ui-184132610-tv4rt -c proxy -n kubeapps -p

Error from server (BadRequest): previous terminated container "proxy" in pod "kubeless-ui-184132610-tv4rt" not found

Refreshing the UI after some time makes the UI console work.

sebgoa commented 6 years ago

I thought this was fixed with my RBAC patch.

the UI seems to get stuck getting the list of pods that correspond to the function, but somehow the refresh kicks it.

but maybe it dies because the proxy container in the UI pod has died...