GithubHelp home page GithubHelp logo

Comments (6)

tintoy avatar tintoy commented on August 10, 2024

Hi.

Not currently implemented but pretty easy to add (just an additional parameter and its corresponding query parameter) by the look of it.

from dotnet-kube-client.

tintoy avatar tintoy commented on August 10, 2024

Work's a bit crazy today but I'll see if I can get this added tonight or tomorrow morning :)

from dotnet-kube-client.

Woazboat avatar Woazboat commented on August 10, 2024

Great, thank you :)

from dotnet-kube-client.

tintoy avatar tintoy commented on August 10, 2024

Ok, sorry for the delay; I've published new packages (version 2.3.14-develop0003) to the development feed (https://www.myget.org/F/dotnet-kube-client/api/v3/index.json) that now have label-selector support for the PodV1 client. If you have a couple of minutes, would you mind trying them out and let me know if the updated client does what you need it to?

If so I'll get the changes published on NuGet, too.

from dotnet-kube-client.

Woazboat avatar Woazboat commented on August 10, 2024

Thanks! I unfortunately haven't really gotten around to testing it aside from the one use case I had (listening for events for a specific pod), but it seems to be working fine and is just what I needed.

The added positional argument tripped me up a bit because suddenly some of my code was using the kubernetes namespace as a fields selector instead. (My fault for not using them as named arguments I guess, but still something to consider since it does change the API and I probably won't be the only one encountering that problem)

from dotnet-kube-client.

tintoy avatar tintoy commented on August 10, 2024

Thanks for reminding me - I might add an overloading extension method instead 🙂

from dotnet-kube-client.

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.