Comments (5)
I recommend using the command
find / \( -fstype proc -o -fstype sysfs -o -fstype tmpfs \) -prune -o -type f
to specifically exclude special filesystem types likeproc
,sysfs
, andtmpfs
.
This was in some initial releases, go ahead and propose the change.
from akashos.
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.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akashos.