Git Product home page Git Product logo

Comments (9)

abonas avatar abonas commented on August 16, 2024

@grosser could you please provide a specific code example with how you are trying to do this?
thanks!

from kubeclient.

grosser avatar grosser commented on August 16, 2024
Kubeclient::Client.new(url, 'v1', open_timeout: 2)

from kubeclient.

abonas avatar abonas commented on August 16, 2024

if I understand correctly the issue here - you are trying to pass a parameter that is not recognized/ supported by kubeclient itself at the moment, (did you see somewhere documentation of kubeclient usage with this parameter?) , so it makes sense that it doesn't work at the moment.
cc @simon3z

from kubeclient.

grosser avatar grosser commented on August 16, 2024

I saw that I cannot pass it in ... that's why I opened an issue :)

On Tue, Apr 26, 2016 at 10:33 PM, abonas [email protected] wrote:

if I understand correctly the issue here - you are trying to pass a
parameter that is not recognized/ supported by kubeclient itself at the
moment, (did you see somewhere documentation of kubeclient usage with this
parameter?) , so it makes sense that it doesn't work at the moment.
cc @simon3z https://github.com/simon3z


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#163 (comment)

from kubeclient.

abonas avatar abonas commented on August 16, 2024

@grosser it was not clear from your issue that this is a feature request, but rather it sounded like reporting a bug.

from kubeclient.

grosser avatar grosser commented on August 16, 2024

ah sorry, definitely a feature request :)
(read_timeout would also be nice while we are at it ... or just all http options ...)

from kubeclient.

abonas avatar abonas commented on August 16, 2024

@grosser I don't think I'll have the time to get this implemented in the near future, but perhaps some other community member can pick up the glove.

from kubeclient.

simon3z avatar simon3z commented on August 16, 2024

I am ok to add these timeouts, but remember that watches are special:

https://github.com/abonas/kubeclient/pull/24/files

In the past I had to force the read_timeout to nil in that case to prevent the connection to be dropped for inactivity.

from kubeclient.

cben avatar cben commented on August 16, 2024

Done in #244 (on master & 2.4.0 via #246).

from kubeclient.

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.