Git Product home page Git Product logo

Comments (3)

seanhig avatar seanhig commented on July 21, 2024 3

For anyone else experiencing this.. the heapster issue is not tied to the TLS. After running:

kubectl proxy
On top of the ssh tunnel they describe in the DC/OS Connecting Clients page, the url:

localhost:8001/ui
Does load up the dashboard correctly, however heapster graphs are still broken.

Note that the original url works fine as well and kubectl proxy isn't really needed on top of the SSH tunnel.

Looking at the kubernetes-dashboard logs, there are issues connecting to heapster (likely timing of the scheduler install).

This illustrates the issue:

Creating in-cluster Heapster client
Could not enable metric client: Health check failed: an error on the server ("[-]healthz failed: could not get the latest data batch\nhealthz check failed") has prevented the request from succeeding (get services heapster). Continuing.

I'm new to k8s, and it appears there is no "restart" proper... but that is what is needed... so after digging through a few threads, it seemed killing it was the solution, and k8s would auto-restart it. So...

kubectl delete pod --namespace=kube-system kubernetes-dashboard-blahblah-xyz
(where blahblah is the uuid for your pod)

Checking the logs when it comes back, it connects to heapster cleanly:

Creating in-cluster Heapster client
Successful initial request to heapster

And the graphs are now in the dashboard.

Probably as good as it is going to get for this beta ;)

from dcos-kubernetes-quickstart.

pires avatar pires commented on July 21, 2024

This will be simplified as soon as we remove the need for the SSH tunnel - which will require DC/OS 1.11

from dcos-kubernetes-quickstart.

pires avatar pires commented on July 21, 2024

Thank you for reporting @seanhig. Our next release will replace Heapster with metrics-server and you should stop seeing this issue.

from dcos-kubernetes-quickstart.

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.