Giter VIP home page Giter VIP logo

Comments (8)

linki avatar linki commented on May 28, 2024

Hi @eljefedelrodeodeljefe,

that certainly makes sense. Let's collect a list of what would be useful and not too complicated to use and implement.

I can think of

  • white- and blacklisting by namespace(s)
  • white- and blacklisting by label selector

blacklisting trumps whitelisting, I guess. So pods matching a whitelisted label selector that are in a blacklisted namespace should not be killed.

  • by namespaces
  • by label selector
  • by attributes (#12)

from chaoskube.

eljefedelrodeodeljefe avatar eljefedelrodeodeljefe commented on May 28, 2024

I think that concludes it to be lightweight. Sounds good to me.

from chaoskube.

kfox1111 avatar kfox1111 commented on May 28, 2024

Another possibility is attributes.

from chaoskube.

linki avatar linki commented on May 28, 2024

@kfox1111 want do you have in mind?

something like this maybe:

  • all pods with some value for an attribute (e.g. serviceAccountName=default)
  • all pods containing at least one container with some value for an attribute (e.g. image=nginx )

from chaoskube.

linki avatar linki commented on May 28, 2024

@eljefedelrodeodeljefe @kfox1111 Label based solution is here: #5. Let me know what you think.

from chaoskube.

linki avatar linki commented on May 28, 2024

@eljefedelrodeodeljefe Namespace-based filtering, both white- and blacklisting supported, no regexp shenanigans: #9 (comment)

from chaoskube.

linki avatar linki commented on May 28, 2024

Label-based and namespace-based selection is part of the v0.4.0 release

I'm going to close this and create a new issue for attribute based filtering: #12

from chaoskube.

linki avatar linki commented on May 28, 2024

thanks @eljefedelrodeodeljefe and @kfox1111 for the suggestions!

from chaoskube.

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.