kube-ops-view
kube-ops-view copied to clipboard
401 Unauthorized with Docker for Mac
Running the following command
docker run -it -p 8080:8080 -e CLUSTERS=http://docker.for.mac.localhost:8001 hjacobs/kube-ops-view
will give this error:
ERROR:kube_ops_view.update:Failed to query cluster docker-for-mac-localhost:8001 (http://docker.for.mac.localhost:8001): 401 Unauthorized (try 1, wait 5 seconds)
ERROR:kube_ops_view.update:Failed to query cluster docker-for-mac-localhost:8001 (http://docker.for.mac.localhost:8001): 401 Unauthorized (try 2, wait 10 seconds)
ERROR:kube_ops_view.update:Failed to query cluster docker-for-mac-localhost:8001 (http://docker.for.mac.localhost:8001): 401 Unauthorized (try 3, wait 17 seconds)
ERROR:kube_ops_view.update:Failed to query cluster docker-for-mac-localhost:8001 (http://docker.for.mac.localhost:8001): 401 Unauthorized (try 4, wait 33 seconds)
There is info how to deal with it in readme.