Coder Social home page Coder Social logo

No logs in dashboard about skooner HOT 8 OPEN

skooner-k8s avatar skooner-k8s commented on July 23, 2024
No logs in dashboard

from skooner.

Comments (8)

thiscantbeserious avatar thiscantbeserious commented on July 23, 2024 2

@herbrandson it would be awesome if we could have an toast for API-Errors - so that regular users will notice them as well and just don't see nothing. I'll see what I can do when I find time ...

from skooner.

duckman avatar duckman commented on July 23, 2024 1

So I dug into things more and it looks like the metrics server doesnt like WebSockets, so I had to disable it on /apis/metrics.k8s.io/.
Here is a rough idea of what my nginx config looks like incase it helps anyone:

	location / {
		include proxy.conf;
		proxy_pass http://k8dash/;
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection "upgrade";
	}

	location /apis/metrics.k8s.io/ {include proxy.conf;
		proxy_pass http://k8dash/apis/metrics.k8s.io/;
	}

from skooner.

infrabyte avatar infrabyte commented on July 23, 2024

Screenshot from 2020-01-27 11-27-43

from skooner.

herbrandson avatar herbrandson commented on July 23, 2024

Hey @infrabyte. I'm so sorry you're having this issue. I haven't heard of anyone running into this before. Would you mind taking at the networking tab in the developer tools and see if there are any errors with the api calls?

from skooner.

herbrandson avatar herbrandson commented on July 23, 2024

@thiscantbeserious There's a "toaster" feature in notifier.js. Checkout addUserNotification. Thanks!

from skooner.

kyleyankan avatar kyleyankan commented on July 23, 2024

I'm also having this issue, and am getting a HTTP 403 on the WSS request.
Request URL: wss:/k8s.ingress.tld/api/v1/namespaces/default/pods?watch=1&fieldSelector=metadata.name%3Dtest-pod-for-github (modified for public sharing) returns a
Error during WebSocket handshake: Unexpected response code: 403

from skooner.

alex-tabachuk avatar alex-tabachuk commented on July 23, 2024

+1
image
domain -> aws alb -> service in aws eks

from skooner.

duckman avatar duckman commented on July 23, 2024

I ran into this issue and it turned out to caused by using nginx as a reverse proxy and not setting it up to handle websockets.
So that's working great now, but my metrics stopped working... so I'm working on that now :P.

from skooner.

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.