Giter Club home page Giter Club logo

Comments (6)

gainax1 avatar gainax1 commented on May 18, 2024 2

@dylanmei, Thanks for that. Unfortunately, this returns the following:

<h3>Unauthorized</h3>

EDIT:

Scrap that, seems to work fine!

from kubernetes-the-hard-way.

nelsonenzo avatar nelsonenzo commented on May 18, 2024 1

had to append "/ui", then it worked.
in my terminal:

kubectl proxy
Starting to serve on 127.0.0.1:8001

in my browser, navigated to.
localhost:8001/ui

the "/ui" is important.

from kubernetes-the-hard-way.

dylanmei avatar dylanmei commented on May 18, 2024

Once everything is running, I have been able to run kubectl proxy on my local machine and then I could visit the dashboard via localhost:8001 in my browser.

kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml
kubectl proxy

I believe this is some background into why it isn't very friendly out of the box: kubernetes/kubernetes#7307

from kubernetes-the-hard-way.

nelsonenzo avatar nelsonenzo commented on May 18, 2024

I also get <h3>Unauthorized</h3>

from kubernetes-the-hard-way.

gregorskii avatar gregorskii commented on May 18, 2024

I think this is actually due to the URL being used not being localhost. Use kubectl proxy to set it to a localhost address.

from kubernetes-the-hard-way.

kelseyhightower avatar kelseyhightower commented on May 18, 2024

Kube proxy is the way to go and before you can use the dashboard you'll have to deploy the dashboard add-on. This guide only provides instructions for the DNS add-on so you'll have to figure out how to install the dashboard the hard way.

from kubernetes-the-hard-way.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.