Git Product home page Git Product logo

Comments (5)

88plug avatar 88plug commented on August 10, 2024 1

I recommend using the command find / \( -fstype proc -o -fstype sysfs -o -fstype tmpfs \) -prune -o -type f to specifically exclude special filesystem types like proc, sysfs, and tmpfs.

This was in some initial releases, go ahead and propose the change.

from akashos.

88plug avatar 88plug commented on August 10, 2024 1

I would generally recommend using inotifywatch, as it can eliminate the need to repeatedly scan all the data.

The app watches pods, not data.

from akashos.

arno01 avatar arno01 commented on August 10, 2024

I'm not certain about the frequency of the operation - whether it's every 1 or 5 minutes - but I would suggest extending the interval to at least 10 minutes.

I would generally recommend using inotifywatch, as it can eliminate the need to repeatedly scan all the data.

from akashos.

88plug avatar 88plug commented on August 10, 2024

I'm not certain about the frequency of the operation - whether it's every 1 or 5 minutes - but I would suggest extending the interval to at least 10 minutes.


if __name__ == "__main__":
    parser = argparse.ArgumentParser(description='Check for issues in Kubernetes pods.')
    parser.add_argument('--delete-namespaces', action='store_true', help='Delete namespaces that have issues.')
    parser.add_argument('--discord', action='store_true', help='Send notifications to Discord when deleting namespaces.')
    parser.add_argument('--pushover', action='store_true', help='Send notifications to Pushover when deleting namespaces.')
    parser.add_argument('--time', type=str, default="", help='Run the application for a given time duration. Examples: --1h, --10m, --forever.')

    args = parser.parse_args()

    time_mapping = {
        'forever': None,
        '1h': 3600,
        '10m': 600,
        '1m': 60,
        '30s': 30,
        # Add more mappings here
    }

is how it works, you use arguments to control Chaperone.

from akashos.

andy108369 avatar andy108369 commented on August 10, 2024

I would generally recommend using inotifywatch, as it can eliminate the need to repeatedly scan all the data.

The app watches pods, not data.

"Watches the pods" implies scanning their data ("data" - in the context of the data paths, i.e. the directories, filenames; obviously not the contents).

from akashos.

Related Issues (1)

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.