Coder Social home page Coder Social logo

Comments (4)

elliottneilclark avatar elliottneilclark commented on June 12, 2024 1

As for the log spam

I didn't mean to imply there is anything wrong with the amount that k8s is logging. I think it's totally fine. I actually prefer a noisy log with extra info. We just run with just about all logging turned on so I consider the whole logging stream as a firehose, and that verbiage slipped in.

from k8s.

mruoss avatar mruoss commented on June 12, 2024

Oooh you're probably right, it seems in this case we should not reset the RV. Still, can you give me some more details on what you're doing? So you're watching pods and you get these as a pod is starting up?

As for the log spam

  • This should not be a Logger.error(). Probably gonna change it to notice.
  • There are debates on whether libs should log. They do give us all insight though. I have added a :library context to all log stmts so you can configure them in config.exs:
    config :logger,
      compile_time_purge_matching: [
        [library: :k8s]
        # or only show errors [library: :k8s, level_lower_than: :error]
      ]

from k8s.

mruoss avatar mruoss commented on June 12, 2024

Ooooh you're watching Events, right? Ha! Thats some nice edge case. The implementation is wrong of course.

from k8s.

elliottneilclark avatar elliottneilclark commented on June 12, 2024

Ooooh you're watching Events

Among other things yea. We start watching streams for ~80 different resource kinds (some that are on the cluster as crds and some that aren't). Essentially we are streaming everything that is happening on the clusters. Event is the most interesting.

from k8s.

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.