smpio / kubernator

Alternative Kubernetes UI
https://hub.docker.com/r/smpio/kubernator/
MIT License
478 stars 37 forks source link

Kubernator doesn't show RBAC #21

Open mpashka opened 6 years ago

mpashka commented 6 years ago

I have installed kubernetes cluster. I installed kubernator as per instruction from github:

kubectl create ns kubernator
kubectl -n kubernator run --image=smpio/kubernator --port=80 kubernator
kubectl -n kubernator expose deploy kubernator
kubectl proxy

And RBAC tab is just empty. I have RBAC enabled.

I checked pod logs and see the following errors there:

[error] 7#7: *3 open() "/usr/share/nginx/html/monaco-editor/min-maps/vs/editor/editor.main.js.map" failed (2: No such file or directory)
[error] 7#7: *4 open() "/usr/share/nginx/html/monaco-editor/min-maps/vs/loader.js.map" failed (2: No such file or directory)
[error] 7#7: *5 open() "/usr/share/nginx/html/static/js/main.90641bdf.js.map" failed (2: No such file or directory)
"GET /monaco-editor/min-maps/vs/editor/editor.main.js.map HTTP/1.1" 404
"GET /monaco-editor/min-maps/vs/loader.js.map HTTP/1.1" 404
"GET /static/js/main.90641bdf.js.map HTTP/1.1" 404
"GET /static/css/main.8a891571.css.map HTTP/1.1" 404
uqee commented 6 years ago

Do you have any floating messages or console errors in a browser?

screen shot 2017-12-26 at 18

mpashka commented 6 years ago

I didn't setup roles/bindings for kubernator. Install instruction says nothing about that. I run kube proxy on behalf of cluster-admin user. Yes, I see several yellow warning about inaccessibility some API extensions in swagger (Failed to load resource: the server responded with a status of 404 Not Found): :8001/swaggerapi/apis/apiregistration.k8s.io/v1beta1 :8001/swaggerapi/apis/apiextensions.k8s.io/v1beta1 :8001/swaggerapi/apis/rook.io/v1alpha1 :8001/swaggerapi/apis/dex.coreos.com/v1

I don't think that is related to my problem.

Other than that there are no errors in console.

nailgun commented 6 years ago

@mpashka Does Catalog tab work for you?

mpashka commented 6 years ago

Yes, catalog tab works fine