Code Monkey home page Code Monkey logo

Comments (3)

skycyan avatar skycyan commented on August 23, 2024 1

看了你的fork和commit,zops @ 3edd3fb
如果你要在k8s中部署webkubectl,那么你的ingress要支持websocket。
请参考:
https : //github.com/kubernetes/ingress-nginx/blob/master/ docs / user-guide / nginx-configuration / annotations.md#configuration-snippet
https://stackoverflow.com/questions/52883653/nginx-ingress-controller-websocket-support
https://blog.xujiuming.com/ming/ 9c16d977.html

谢谢您的帮助。
目前ingress支持websocket,经过您给的提示,排查了ingress前端代理(nginx tcp代理多个ingress),导致自动断开的原因是proxy_timeout参数导致。将该时间增大解决问题。

from webkubectl.

liqiang-fit2cloud avatar liqiang-fit2cloud commented on August 23, 2024

我们这用的都挺好的,没有遇到你说的问题。
你是用了代理了么,nginx或者haproxy之类的?

from webkubectl.

liqiang-fit2cloud avatar liqiang-fit2cloud commented on August 23, 2024

我看了你的fork和commit,skycyan@3edd3fb
如果你要在k8s中部署webkubectl,那么你的ingress要支持websocket。
请参考:
https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md#configuration-snippet
https://stackoverflow.com/questions/52883653/nginx-ingress-controller-websocket-support
https://blog.xujiuming.com/ming/9c16d977.html

from webkubectl.

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.